Repository: incubator-hawq
Updated Branches:
  refs/heads/master e6fdfd3e3 -> 3b51c2084


HAWQ-1113. fix files_same_path/sizes_same_path/segnos_same_path are not 
initialized for single file mode


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

Branch: refs/heads/master
Commit: 3b51c20844c67693e01dcc738580b0f8f02d324f
Parents: e6fdfd3
Author: Wen Lin <[email protected]>
Authored: Mon Oct 24 15:59:26 2016 +0800
Committer: Wen Lin <[email protected]>
Committed: Mon Oct 24 15:59:26 2016 +0800

----------------------------------------------------------------------
 tools/bin/hawqregister | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/3b51c208/tools/bin/hawqregister
----------------------------------------------------------------------
diff --git a/tools/bin/hawqregister b/tools/bin/hawqregister
index 27b1e94..2affdc3 100755
--- a/tools/bin/hawqregister
+++ b/tools/bin/hawqregister
@@ -536,6 +536,9 @@ class HawqRegister(object):
                 logger.error('-e option is only supported with single file 
case.')
                 sys.exit(1)
             self.file_format = 'Parquet'
+            self.files_same_path = []
+            self.sizes_same_path = []
+            self.segnos_same_path = []
             self._check_hash_type() # Usage1 only support randomly distributed 
table
         self.queries = "set allow_system_table_mods='dml';"
         self.queries += "begin transaction;"

Reply via email to