Github user zellerh commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/333#discussion_r53703580
--- 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 --
Just wondering whether it's safe to send all CQDs to the child compiler. As
this missing CQD is causing trouble, maybe some other user CQDs that now get
sent could also cause the statement to fail? Also, if I have a table with a
nullable unique column, should I have to set this CQD to create another table
like it, or should the CREATE TABLE LIKE work without the CQD?
---
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.
---