Member since
07-06-2020
1
Post
0
Kudos Received
0
Solutions
07-06-2020
02:32 PM
I have a decimal field of precision 38 (ie decimal (38)). When reading using HiveQL, hiveQL is implicitly converting this as string. If i use QueryRecord to cast into Decimal(38), it's converted into scientific notation. Query record uses Avro reader and Avro writer. So it makes me believe the crux of the issue is "Avro reader" which is forcing conversion. Any ideas on avoiding this conversion. Example: This is the actual value 82592313688509164760188 and Nifi is converting this into 8.259231368850916E22
... View more
Labels:
- Labels:
-
Apache NiFi