[
https://issues.apache.org/jira/browse/CALCITE-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-6779:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> 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)