Hello,
I have several timestamp string fields in one of my table.
The value is in this format yyyymmddhhmmss
i need to use DatetimeDiff between 2 of this date to calculate a delay.
As is, DatetimeDiff in a custome field give me an error : invalid expression
So i change the type of the field in the metadata to creation timestamp, and specify a format YYYY-MM-DD HH:MM:SS
In the table, i don't see any transformation of the value
And i still can't use Datetimediff
So after some research, i discovered that i need to cast a timestand string into some metabase datetime format.
I try the timestamp cast first
When i try to access my question, an error link to the cast is shown
ERROR: function to_timestamp(timestamp with time zone, unknown) does not exist
I try with datetime cast instead
And now i got this error : ERROR: date/time field value out of range: "20211108164600"
I'm quite lost, i try everything i found on the doc, forum or internet.
Some help would be really welcome.
Best regards