Using embedded compiler will not get error 2031 There is no need to raise error 2031 (Could not use embedded compiler to compile the statement: ...) when failed to compile a query. Removed the AQR entry for SQL error 2031.
Retry SQLCODE 1389 after flushing metadata cache Sometimes caching of metadata objects causes the compiler to incorrectly raise SQLCODE 1389: "Object <obj_name> does not exist in Trafodion." This change reconfigures the pre-existing auto-query-retry (AQR) feature to retry the error, after first using a CQD to flush the metadata cache. The change also includes the fix for a latent bug which is now exposed. The latent bug caused duplicate diagnostic conditions to be returned from the CLI when an unsuccessful AQR has used CQDs.