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

Allow CAST in an INTERVAL definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Running queries that contain a CAST as part of the INTERVAL definition is throwing a parser error.
      i.e.
      INTERVAL CAST(5 as int64) YEAR
      We can make parser changes to allow the Cast function tokens to be accepted

      Attachments

        Issue Links

          Activity

            People

              oliverlee Oliver Lee
              oliverlee Oliver Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m