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

Invalid unparse for TIMESTAMP with HiveSqlDialect

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nobigo xiong duan Assign to me
            nobigo xiong duan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment