Hello,
I want to insert Data from a CSV file into a table. The table has two colums of type timestamp with timezone and real. The CSV file locks like the following:
time_index,battery_voltage
2023-11-28T15:56:00.000Z,50.5
And the copy from statement like this:
COPY mtcontroller.test_import
FROM 'https://raw.githubusercontent.com/.../main/test_new.csv'
RETURN SUMMARY;
The copy from statement excutes with succes. But when I want to qurey the data with this:
SELECT time_index, battery_voltage
FROM "mtcontroller"."test_import"
LIMIT 100;
I get the following error:
SQLParseException[Cannot convert input string: “2023-11-28T15:56:00.000Z” to biginteger]
Has anyone an idea what I am doing wrong?