[ https://issues.apache.org/jira/browse/HIVE-4645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4645: ------------------------------ Attachment: HIVE-4645.D11037.3.patch navis updated the revision "HIVE-4645 [jira] Stat information like numFiles and totalSize is not correct when sub-directory is exists". I cannot reproduce the changes you've mentioned, but I suspect it's from difference of Mac and Linux (ordering of files returned by File.list()). Considered to remove that query but just added order by clause on HR. Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D11037 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D11037?vs=37857&id=38277#toc AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java ql/src/test/queries/clientpositive/list_bucket_dml_7.q ql/src/test/queries/clientpositive/list_bucket_dml_8.q ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out ql/src/test/results/clientpositive/list_bucket_dml_7.q.out ql/src/test/results/clientpositive/list_bucket_dml_8.q.out To: JIRA, navis Cc: brock > Stat information like numFiles and totalSize is not correct when > sub-directory is exists > ---------------------------------------------------------------------------------------- > > Key: HIVE-4645 > URL: https://issues.apache.org/jira/browse/HIVE-4645 > Project: Hive > Issue Type: Test > Components: Statistics > Reporter: Navis > Assignee: Navis > Priority: Trivial > Fix For: 0.12.0 > > Attachments: HIVE-4645.D11037.1.patch, HIVE-4645.D11037.2.patch, > HIVE-4645.D11037.3.patch > > > The test "infer_bucket_sort_list_bucket.q" returns 4096 as totalSize but it's > size of parent directory, not sum of file size. -- 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