Hi, I’m running a transform from Raw to insert/update Numeric values.
/* MAPPING_MODE_ENABLED: false */
/* {"version":1,"sourceType":"raw","mappings":[{"from":"","to":"id"},{"from":"","to":"externalId"},{"from":"","to":"timestamp"},{"from":"","to":"value"}]} */
SELECT
dp.Tagname AS externalId,
to_timestamp(DateTimeStamp, 'yyyy-M-d h:mm:ss') AS timestamp,
cast(value AS double)
FROM
`ISTC_WW_InSQL`.`wwHistory` AS dp ,
--selecting from _cdf.timeseries means we select from the timeseries we ingested to CDF earlier. We do this to make sure all the time series we try to add data points to actually exist
_cdf.timeseries AS ts WHERE dp.`Tagname` = ts.externalId
--And to_timestamp(DateTimeStamp, 'yyyy-M-d h:mm:ss') Is Not Null


When, we UnComment the last line of code
And to_timestamp(DateTimeStamp, 'yyyy-M-d h:mm:ss') Is Not Null
The preview and the actual Run executes with no errors.
Is this an issue with the to_timestamp function or something else?