You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by GitBox <gi...@apache.org> on 2019/03/04 22:35:15 UTC

[GitHub] [trafodion] DaveBirdsall opened a new pull request #1809: [TRAFODION-3282] Fix buffer overrun in ExHdfsScanTcb::work

DaveBirdsall opened a new pull request #1809: [TRAFODION-3282] Fix buffer overrun in ExHdfsScanTcb::work
URL: https://github.com/apache/trafodion/pull/1809
 
 
   There are two changes in this pull request:
   
   1. Fix a buffer overrun in ExHdfsScanTcb::work, which happens when we process a Hive row longer than we expect and that row spans read buffers. Now we will raise an 8457 error in this case.
   
   2. A workaround to avoid error 8457 is to use CQD HIVE_MAX_STRING_LENGTH_IN_BYTES 'nnnn', setting nnnn to the length of the longest string in the Hive table. There was a bug in UPDATE STATISTICS ... CREATE SAMPLE where this particular CQD was not passed down to the appropriate tdm_arkcmp, defeating the workaround. This bug has been fixed.

----------------------------------------------------------------
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