hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Yeom (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19865) Full ACID table stats has wrong rawDataSize
Date Fri, 22 Jun 2018 22:23:00 GMT

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

Steve Yeom commented on HIVE-19865:
-----------------------------------

OK. 
OrcRecordUpdater.getStats() or a (possibly new) subsequent is supposed to calculate 
rawDataSize if needed. 

OrcRecordUpdater.java has:
  @Override
  public SerDeStats getStats() {
    SerDeStats stats = new SerDeStats();
    stats.setRowCount(rowCountDelta);
    // Don't worry about setting raw data size diff.  I have no idea how to calculate that
    // without finding the row we are updating or deleting, which would be a mess.
    return stats;
  }



> Full ACID table stats has wrong rawDataSize
> -------------------------------------------
>
>                 Key: HIVE-19865
>                 URL: https://issues.apache.org/jira/browse/HIVE-19865
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Transactions
>    Affects Versions: 4.0.0
>            Reporter: Steve Yeom
>            Assignee: Steve Yeom
>            Priority: Major
>             Fix For: 4.0.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message