Closed dataders closed 2 months ago
I suggest replacing the current _dbt_copied_at field which uses current_timestamp since Snowflake recommends against using that function in a Snowpipe.
_dbt_copied_at
current_timestamp
https://community.snowflake.com/s/article/Incorrect-timestamp-in-Snowpipe-while-using-current-timestampfunction
https://docs.snowflake.com/en/user-guide/data-load-snowpipe-ts#load-times-inserted-using-current-timestamp-earlier-than-load-time-values-in-copy-history-view
Originally posted by @jtmcn in https://github.com/dbt-labs/dbt-external-tables/issues/239#issuecomment-1889956737
resolved by #282
I suggest replacing the current
_dbt_copied_at
field which usescurrent_timestamp
since Snowflake recommends against using that function in a Snowpipe.https://community.snowflake.com/s/article/Incorrect-timestamp-in-Snowpipe-while-using-current-timestampfunction
https://docs.snowflake.com/en/user-guide/data-load-snowpipe-ts#load-times-inserted-using-current-timestamp-earlier-than-load-time-values-in-copy-history-view
Originally posted by @jtmcn in https://github.com/dbt-labs/dbt-external-tables/issues/239#issuecomment-1889956737