Github user sandhyasun commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/363#discussion_r55454391
--- Diff: core/sql/cli/Cli.cpp ---
@@ -9684,15 +9640,17 @@ Lng32 SQLCLI_LOBcliInterface
cliRC = cliInterface->executeImmediate(query);
currContext.resetSqlParserFlags(0x1);
-
+
if (cliRC < 0)
{
cliInterface->retrieveSQLDiagnostics(myDiags);
-
+ if (myDiags->containsError(-CAT_OBJECT_DOES_NOT_EXIST_IN_TRAFODION))
--- End diff --
Found a related issue with drop schema and ddl transactions. I am going to
backout this change and not filter out any errors. It does not help with ddl
transactions - the diagnostics not being cleared causes problems during
transaction commit. So opened JIRA TRAFODION-1883 and will fix it shortly (as
part of a separate pull request) .
---
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.
---