Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/772#discussion_r39944600
--- Diff:
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
---
@@ -2147,6 +2154,8 @@ private void ensurePartitionTable(String tbName, int
tableId)
builder.setId(res.getInt(COL_PARTITIONS_PK));
builder.setPath(res.getString("PATH"));
builder.setPartitionName(partitionName);
+ builder.setNumBytes(res.getLong(COL_PARTITION_BYTES));
+ builder.setNumFiles(res.getLong(COL_PARTITION_FILES));
--- End diff --
Honestly, I added num of bytes and number of files by reference to
PartitionedTableRewriter::updateTableStat. But now, it looks like unnecessary
information.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---