Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.
- Open data explore on InfluxDB Cloud
- Execute the folowing query: SELECT 1705590600000000000::TIMESTAMP
Expected behaviour:
I would expect a timestamp
Actual behaviour:
An exception is thrown:
Error while planning query: Optimizer rule 'simplify_expressions' failed
caused by
Arrow error: Compute error: Overflow happened on: 1705590600000000000 * 1000000000: rpc error: code = InvalidArgument desc = Error while planning query: Optimizer rule 'simplify_expressions' failed
caused by
Arrow error: Compute error: Overflow happened on: 1705590600000000000 * 1000000000
Environment info:
As workaround I use the following query:
SELECT 1705590600000000000::BIGINT UNSIGNED::TIMESTAMP
On older versions of InfluxDB, unsigned big ints are not allowed to cast to timestamp