Aman Sinha has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24048 )

Change subject: IMPALA-14639: Calcite planner should not allow date cast to int
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24048/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/24048/1//COMMIT_MSG@12
PS1, Line 12: select cast(date '2000-12-21' as int);
> It's interesting this is not allowed, but you can cast it to a timestamp th
AFAIK, according to the SQL standards casting a DATE to INT is not allowed, so 
I am wondering how it got past Calcite's  sql to rel converter since Calcite is 
actually pretty close to SQL standards.



--
To view, visit http://gerrit.cloudera.org:8080/24048
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icad76e6c1db489ecdfa620109baa47232331a42d
Gerrit-Change-Number: 24048
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Comment-Date: Tue, 03 Mar 2026 21:24:52 +0000
Gerrit-HasComments: Yes

Reply via email to