[
https://issues.apache.org/jira/browse/HIVE-15989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benito Kestelman updated HIVE-15989:
------------------------------------
Description:
I have a numeric field in a file in my data lake and created a hive external
table pointing to this field. The field value is
0.3333333333333333333333333333333333333333 but when I fetched this record using
the query it display only 0.3333333333333333. I tried using DECIMAL and DOUBLE
data types but nothing worked.is this a bug or am I not using the exact data
type for this?
Thanks,
NIkesh
was:
I have a numeric field in a file in my data lake and created a hive external
table pointing to this field. The field value is
0.3333333333333333333333333333333333333333 but when I fetched this record using
the query it display only 0.3333333333333333. I tried using DECIMAL and DOUBLE
data types but nothing worked.is this a bug or am I not using the exact data
type for this?
Thanks,
NIkesh
> Incorrect rounding in decimal data types
> ----------------------------------------
>
> Key: HIVE-15989
> URL: https://issues.apache.org/jira/browse/HIVE-15989
> Project: Hive
> Issue Type: Bug
> Components: Database/Schema
> Reporter: Nikesh
> Priority: Critical
> Attachments: ANA_AUTO_E.csv
>
>
> I have a numeric field in a file in my data lake and created a hive external
> table pointing to this field. The field value is
> 0.3333333333333333333333333333333333333333 but when I fetched this record
> using the query it display only 0.3333333333333333. I tried using DECIMAL and
> DOUBLE data types but nothing worked.is this a bug or am I not using the
> exact data type for this?
> Thanks,
> NIkesh
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)