Skip to content

Commit

Permalink
fix one more issue (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Feb 12, 2024
1 parent ce88e20 commit 26a1de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/model/qvalue/avro_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func (c *QValueAvroConverter) processGoDate() (interface{}, error) {

// Snowflake has issues with avro timestamp types, returning as string form
// See: https://stackoverflow.com/questions/66104762/snowflake-date-column-have-incorrect-date-from-avro-file
if c.TargetDWH == QDWHTypeSnowflake {
if c.TargetDWH == QDWHTypeSnowflake || c.TargetDWH == QDWHTypeClickhouse {
return t.Format("2006-01-02"), nil
}
return t, nil
Expand Down

0 comments on commit 26a1de8

Please sign in to comment.