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

Invalid unparse for TIMESTAMP with HiveSqlDialect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.37.0
    • 1.38.0
    • core

    Description

      When parsing

      SELECT CAST("2023-11-10" AS TIMESTAMP) 

      The unparsed Hive SQL query gives:

      SELECT CAST("2023-11-10" AS TIMESTAMP(0))  

       

      Attachments

        Issue Links

          Activity

            People

              nobigo xiong duan
              nobigo xiong duan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: