Details
-
Sub-task
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
In the code below, 'now()+'100 days' are casted to double and then an error is thrown:
CREATE TEMP VIEW v_window AS SELECT i, min(i) over (order by i range between '1 day' preceding and '10 days' following) as min_i FROM range(now(), now()+'100 days', '1 hour') i;
Error:
cannot resolve '(current_timestamp() + CAST('100 days' AS DOUBLE))' due to data type mismatch: differing types in '(current_timestamp() + CAST('100 days' AS DOUBLE))' (timestamp and double).;
Attachments
Issue Links
- links to