Hi all,
I'm trying to detect the changes between the on premise data (SQL Server 2017) and AGOL (ArcGIS Online) data. The schema is the same, of course the field types are slightly different.
I've noticed that ChangeDetector is constantly reporting a large number of changes, and closer inspection highlighted the problem, that the GEODATABASE_SDE reader into the sql server is reporting that the datime2 field type (CreatedAt) is of type date in FME reader, and is actually truncating the data into the date only.
So if let's consider a single record:
FME reads it
from AGOL: 20190101000000
from DB: 20190101
SQL Server reads it as 2019-01-01 00:00:00.0000000
Hence reporting is as a change.
How can I force the reader to use datetime2 instead of just date?