[ https://issues.apache.org/jira/browse/HIVE-10898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571579#comment-14571579 ]
Thejas M Nair commented on HIVE-10898: -------------------------------------- note that hive-on-spark (hive with spark as execution engine) is different from spark-sql (spark project having parts of hive code copied into it). > CAST <string> AS BIGINT produces wrong value > -------------------------------------------- > > Key: HIVE-10898 > URL: https://issues.apache.org/jira/browse/HIVE-10898 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.1 > Environment: Hive running on Spark in Standalone mode > Reporter: Andrey Kurochkin > Priority: Critical > > Example Query: > SELECT CAST("775983671874188101" as BIGINT) > Produces: 775983671874188160L > Note: last 2 digits. -- This message was sent by Atlassian JIRA (v6.3.4#6332)