Skip to main content
Answer

I am trying to use is_new function & getting this error

  • April 4, 2023
  • 3 replies
  • 40 views

Forum|alt.badge.img

Incremental load version should be LongType or TimestampType. | code: 400 | X-Request-ID: XXXXXX
 

Best answer by Gaetan Helness

Can you send your code snippet containing the is_new query?

For reference, it should be a timestamp, we usually use lastUpdatedTime

https://docs.cognite.com/cdf/integration/guides/transformation/write_sql_queries/#is_new

3 replies

Gaetan  Helness
MVP
Forum|alt.badge.img+1

Can you send your code snippet containing the is_new query?

For reference, it should be a timestamp, we usually use lastUpdatedTime

https://docs.cognite.com/cdf/integration/guides/transformation/write_sql_queries/#is_new


Forum|alt.badge.img

Yes ….you are right!!

It worked with lastUpdatedTime 
I was using one of the column name here LAST_UPDT_DATE instead of  lastUpdatedTime 

Thank you for the instant reply!!


Gaetan  Helness
MVP
Forum|alt.badge.img+1

Great to hear. Thanks for the feedback