Github user ictmalili commented on a diff in the pull request:
    --- Diff: tools/bin/hawqregister ---
    @@ -432,7 +436,8 @@ class HawqRegister(object):
             if len(params[Format_FileLocations]['Files']):
                 files, sizes = [params['DFS_URL'] + d['path'] for d in 
params[Format_FileLocations]['Files']], [d['size'] for d in 
             encoding = params['Encoding']
    -        self._set_yml_dataa(Format, files, sizes, params['TableName'], 
params['%s_Schema' % Format], params['Distribution_Policy'], 
params[Format_FileLocations], params['Bucketnum'], partitionby,\
    +        bucketNum = params['Bucketnum'] if 
params['Distribution_Policy'].startswith('DISTRIBUTED BY') else 6
    --- End diff --
    I don't think the else should be "6", we need get the default bucket number 
from HAWQ (GUC: default_hash_table_bucket_number), or we don't need assign 
bucketnum here if we want to create table, i.e, don't specify in creating table 

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 or file a JIRA ticket
with INFRA.

Reply via email to