Github user xunzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/955#discussion_r85680028
  
    --- Diff: tools/bin/hawqregister ---
    @@ -123,6 +123,25 @@ def register_yaml_dict_check(D, table_column_num, 
src_tablename):
             logger.error('Column number of table in yaml file is not equals to 
the column number of table %s.' % src_tablename)
             sys.exit(1)
     
    +def ispartition(yml_file):
    +    import yaml
    +    try:
    +        with open(yml_file, 'r') as f:
    +            params = yaml.load(f)
    +    except yaml.scanner.ScannerError as e:
    +        print e
    +        system.exit(1)
    --- End diff --
    
    Error here...


---
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.
---

Reply via email to