trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [trafodion] DaveBirdsall opened a new pull request #1853: [TRAFODION-3324] Prevent core when histogram exists on non-existent column
Date Mon, 12 Aug 2019 18:44:56 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message