[ 
https://issues.apache.org/jira/browse/HIVE-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503420#comment-13503420
 ] 

Ashutosh Chauhan commented on HIVE-3678:
----------------------------------------

@Shreepadma, Seems like you are suggesting to store BigDecimal statistics as 
plain strings in CLOBs. I think its a fair choice. As I am thinking more about 
choice between one json blob for all stats Vs different column for diff stat, I 
am inclining towards different columns. Apart from performance argument for 
(de)serialization, extra code that we have to write to do (de)serialization 
will present more opportunities to introduce bugs, its always good to avoid 
writing code unless its useful in substantial ways. 
In nutshell, I am +1 on the patch as it is. Unless, Carl has some other 
suggestions, lets go with it.
                
> Add metastore upgrade scripts for column stats schema changes
> -------------------------------------------------------------
>
>                 Key: HIVE-3678
>                 URL: https://issues.apache.org/jira/browse/HIVE-3678
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Shreepadma Venugopalan
>            Assignee: Shreepadma Venugopalan
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3678.1.patch.txt, HIVE-3678.2.patch.txt
>
>
> Add upgrade script for column statistics schema changes for 
> Postgres/MySQL/Oracle/Derby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to