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

    https://github.com/apache/incubator-hawq/pull/907#discussion_r79322152
  
    --- Diff: tools/bin/hawqregister ---
    @@ -242,6 +253,13 @@ class HawqRegister(object):
                         logger.error('Files to be registered must be multiple 
times to the bucket number of hash table.')
                         sys.exit(1)
     
    +        def check_database_encoding():
    +            encoding_indx = 
self.accessor.get_database_encoding_indx(self.database)
    +            encoding = self.accessor.get_database_encoding(encoding_indx)
    +            if self.encoding.strip() != encoding:
    +                logger.error('Database encoding is not consistent.')
    --- End diff --
    
    ok


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

Reply via email to