Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25968

cast(double as bigint) may cause an error return

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.1.1
    • 2.3.0
    • None
    • None

    Description

      hello, everyone. when running sql using cast function in hive CLI, I got an unexpected return as the following pic described. And I am not sure if the function cast designed just as type conversion in java. In other words, I should handle double arithmetic precision on myself.

      your reply sincerely.

      Attachments

        Issue Links

        Activity

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

          People

            Ping Xu xuping Assign to me
            Ping Xu xuping
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment