Github user ictmalili commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/859#discussion_r76351833
--- Diff: tools/bin/hawqregister ---
@@ -131,6 +130,18 @@ def option_parser_yml(yml_file):
def create_table(dburl, tablename, schema_info, fmt, distrbution_policy,
file_locations):
try:
+ query = "select count(*) from pg_class where relname = '%s'" %
tablename.split('.')[-1]
--- End diff --
Maybe we need to consider the upper/lower cases of tablename. All the
table name stored in HAWQ are converted to lower case. So I think we need to
convert tablename to lower case and then do comparison.
---
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.
---