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:
[email protected]


With regards,
Apache Git Services

Reply via email to