Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/333#discussion_r53706097
--- Diff: core/sql/sqlcomp/CmpSeabaseDDLtable.cpp ---
@@ -356,6 +356,9 @@ void CmpSeabaseDDL::createSeabaseTableLike(
query += keyClause;
}
+ // send any user CQDs down
+ Lng32 retCode = sendAllControls(FALSE, FALSE, TRUE);
+
--- End diff --
And to answer your second question: I am not sure. The current behavior of
the code is that the CQD is required if doing CREATE TABLE LIKE from sqlci. I
think one could make a case for changing that behavior. On the other hand, one
might want to prevent casual propagation of nullable primary keys. Which would
be an argument for always requiring the CQD. I don't feel strongly either way.
---
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.
---