Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6779

Casts from UUID to DATE should be invalid

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mbudiu Mihai Budiu
              mbudiu Mihai Budiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: