Details
Description
The query
SELECT CAST('2000-10-10' AS DATE) + 2
fails with SqlValidatorException
Cannot apply '+' to arguments of type '<DATE> + <INTEGER>'. Supported form(s): '<NUMERIC> + <NUMERIC>' '<DATETIME_INTERVAL> + <DATETIME_INTERVAL>' '<DATETIME> + <DATETIME_INTERVAL>' '<DATETIME_INTERVAL> + <DATETIME>'
Tests:
function/date/test_extract_edge_cases.test_ignore
Attachments
Issue Links
- is part of
-
IGNITE-14535 Caclite SQL engine capabilities
- Open