Mihai Budiu created CALCITE-6779:
------------------------------------

             Summary: Casts from UUID to DATE should be invalid
                 Key: CALCITE-6779
                 URL: https://issues.apache.org/jira/browse/CALCITE-6779
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.38.0
            Reporter: Mihai Budiu
             Fix For: 1.39.0


The validator does not reject CAST(UUID 'xxx' AS DATE).
It should.

This happens because UUID was declared to be in BINARY types, and these can all 
be cast to DATE, TIME, and TIMESTAMP.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to