[ 
https://issues.apache.org/jira/browse/HIVE-26492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yunhong Zheng updated HIVE-26492:
---------------------------------
    Description: 
For _orc.apache.orc.impl.writer.StructTreeWriter_ in hive-exec-3.1.1 . In this 
class, method _writeFileStatistics_ will create a wrong column stats min value 
(column stats min equals 0) when encounter decimal type column(like decimal(5, 
2), decimal(14, 2)). the debug screenshot:

!image-2022-08-22-21-06-29-980.png|width=454,height=314!

  was:
For _orc.apache.orc.impl.writer.StructTreeWriter_ in hive-exec-3.1.1 . In this 
class, method _writeFileStatistics_ will create a wrong column stats min value 
(column stats min equals 0) when encounter decimal type column(like decimal(5, 
2), decimal(14, 2)). the debug screenshot:

!image-2022-08-22-21-06-29-980.png!


> orc.apache.orc.impl.writer.StructTreeWriter write wrong column stats when 
> encounter decimal type value
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26492
>                 URL: https://issues.apache.org/jira/browse/HIVE-26492
>             Project: Hive
>          Issue Type: Bug
>          Components: ORC
>    Affects Versions: 3.1.1
>            Reporter: Yunhong Zheng
>            Priority: Major
>             Fix For: 3.1.1
>
>
> For _orc.apache.orc.impl.writer.StructTreeWriter_ in hive-exec-3.1.1 . In 
> this class, method _writeFileStatistics_ will create a wrong column stats min 
> value (column stats min equals 0) when encounter decimal type column(like 
> decimal(5, 2), decimal(14, 2)). the debug screenshot:
> !image-2022-08-22-21-06-29-980.png|width=454,height=314!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to