Pranay Singh has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/8936 )

Change subject: IMPALA-3833: Fix invalid data handling in Sequence and RCFile 
scanners
......................................................................


Patch Set 6:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/hdfs-rcfile-scanner.cc
File be/src/exec/hdfs-rcfile-scanner.cc:

http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/hdfs-rcfile-scanner.cc@119
PS5, Line 119:     ss << stream_->filename() << " Invalid 
RCFILE_VERSION_HEADER: '"
> I meant the filename of the file being decoded, i.e. stream_->filename().
Done


http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/hdfs-rcfile-scanner.cc@119
PS5, Line 119:     ss << stream_->filename() << " Invalid 
RCFILE_VERSION_HEADER: '"
> It seems like the message text should be enough to distinguish, right?
Done


http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/scanner-context.inline.h
File be/src/exec/scanner-context.inline.h:

http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/scanner-context.inline.h@96
PS5, Line 96:   }
> Is this possible? The intent of the above code is that it shouldn't go nega
Done


http://gerrit.cloudera.org:8080/#/c/8936/5/be/src/exec/scanner-context.inline.h@97
PS5, Line 97:
> This will crash since the template for the error message in common/thrift/g
This is not needed as you've suggested above I have introduced the DCHECK in 
the beginning to check that length is never negative



--
To view, visit http://gerrit.cloudera.org:8080/8936
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic9cfc38af3f30c65ada9734eb471dbfa6ecdd74a
Gerrit-Change-Number: 8936
Gerrit-PatchSet: 6
Gerrit-Owner: Pranay Singh
Gerrit-Reviewer: Pranay Singh
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Reviewer: anujphadke <apha...@cloudera.com>
Gerrit-Comment-Date: Sat, 10 Feb 2018 01:01:59 +0000
Gerrit-HasComments: Yes

Reply via email to