Github user xunzhang commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/976#discussion_r85255318
--- Diff: tools/bin/hawqextract ---
@@ -147,17 +147,17 @@ class GpMetadataAccessor:
def get_aoseg_files(self, oid):
'''
- Return rows in pg_aoseg_`oid` table, excluding
- rows whose content id is -1.
+ Return rows in pg_aoseg_`oid` table
Example:
>>> accessor.get_aoseg_files(35709)
- >>> [{'fileno':'1', 'filesize':'320'},
- ... {'fileno':'2', 'filesize':'880'},
- ... {'fileno':'3', 'filesize':'160'}]
+ >>> [{'fileno':'1', 'filesize':'320', 'tupcount':'10',
'varblockcount':'2', eofuncompressed:'320'},
+ ... {'fileno':'2', 'filesize':'880', 'tupcount':'27',
'varblockcount':'3', eofuncompressed:'880'},
+ ... {'fileno':'3', 'filesize':'160', 'tupcount':'5',
'varblockcount':'2', eofuncompressed:'160'}]
--- End diff --
I like these lines.
---
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.
---