[
https://issues.apache.org/jira/browse/CALCITE-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-6779.
----------------------------------
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/63d57c2523964b5833ce01d6bce1dd5f47916ee5
Thank you for the review [~zhehu]
> 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)