DaveBirdsall opened a new pull request #1853: [TRAFODION-3324] Prevent core 
when histogram exists on non-existent column
URL: https://github.com/apache/trafodion/pull/1853
 
 
   Formerly, if we create a Hive table, populate it with some rows, do UPDATE 
STATISTICS on it within Trafodion, then drop and recreate the table with fewer 
columns in Hive (bypassing Trafodion), we would get a core if we subsequently 
tried to access that table via a Trafodion DML statement.
   
   This has been fixed. Trafodion will now detect histograms on non-existent 
columns, and ignore them instead. A new warning, 9235, is raised in this case.
   
   Note that Trafodion supports performing Hive DDL from Trafodion sqlci and 
trafci, and this is the recommended practice when using Trafodion. In that 
case, Trafodion will automatically drop any histograms it has on the Hive 
table, avoiding this issue. The change here simply makes Trafodion a bit more 
robust when this recommendation is not followed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to