hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [1/2] incubator-hawq git commit: HAWQ-1005. Add schema info with Parquet format in hawqextract.
Date Tue, 16 Aug 2016 01:46:20 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 189a2c3a0 -> a5a2e6d13


HAWQ-1005. Add schema info with Parquet format in hawqextract.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/ff1419c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/ff1419c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/ff1419c1

Branch: refs/heads/master
Commit: ff1419c192ffdf7105158262470c85af507f851b
Parents: 189a2c3
Author: xunzhang <xunzhangthu@gmail.com>
Authored: Mon Aug 15 17:09:39 2016 +0800
Committer: xunzhang <xunzhangthu@gmail.com>
Committed: Mon Aug 15 17:09:39 2016 +0800

----------------------------------------------------------------------
 tools/bin/hawqextract | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/ff1419c1/tools/bin/hawqextract
----------------------------------------------------------------------
diff --git a/tools/bin/hawqextract b/tools/bin/hawqextract
index 8dc471c..699c713 100755
--- a/tools/bin/hawqextract
+++ b/tools/bin/hawqextract
@@ -434,7 +434,8 @@ def extract_metadata(conn, tbname):
                                                          p_pgclass['relfilenode'])
                 }
                 file_locations['Partitions'].append(par_info)
-
+        logger.info('-- extract Parquet_Schema')
+        metadata['Parquet_Schema'] = accessor.get_schema(relid)
         metadata['Parquet_FileLocations'] = file_locations
 
     # extract AO/Parquet specific metadata


Mime
View raw message