tsql_chunk_loader() should recognize class of type "POSIXct" & "POSIXt", which is produced by class(Sys.time())
When the validate_field_types = TRUE, and the field_type is datetime in SQL, the function returns:
🛑 last_run in {ph.data} is of class 'c("POSIXct", "POSIXt")', which is not recognized by rads::tsql_validate_field_types.
If you think this is a mistake, please submit a GitHub issue.
It should recognize the legitimacy of this pairing without error or warning
tsql_chunk_loader()
should recognize class of type "POSIXct" & "POSIXt", which is produced byclass(Sys.time())
When the
validate_field_types = TRUE
, and the field_type isdatetime
in SQL, the function returns:🛑 last_run in {ph.data} is of class 'c("POSIXct", "POSIXt")', which is not recognized by rads::tsql_validate_field_types. If you think this is a mistake, please submit a GitHub issue.
It should recognize the legitimacy of this pairing without error or warning