I have a Batch Load job that is loading data from a MS SQL Server source into Snowflake.
I'm trying to use a "lastUpdated" field as a high water mark for the sync.
On most source tables, this field is specified as type "datetime2(7)". When MDL detects the source field however, it detects this as "varchar".
Interestingly, on checking another source table where the field type is "datetime", MDL detects this as "timestamp".
Is there a compatibility issue with MDL and SQL Server datetime2 type?
If so, will MDL detecting this as varchar cause issues with using this field as a high water mark due to character sorting potentially behaving differently to native dates?