Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21646

to look at the new patch set (#3).

Change subject: IMPALA-13240: Add gerrit comments for Thrift/FlatBuffers changes
......................................................................

IMPALA-13240: Add gerrit comments for Thrift/FlatBuffers changes

Adds gerrit comments for changes in Thrift/FlatBuffers files that could
break the communication between impalad and catalogd/statestore during
upgrade.

Basically, only new optional fields can be added in Thrift protocol. For
Flatbuffers schemas, we should only add new fields at the end of a table
definition.

Add a new option for critique-gerrit-review.py to specify the commit.

Limitations
 - False positive in cases that add new Thrift structs with required
   fields and only use those new structs in new optional fields, e.g.
   effc9df93 and 72732da9d.
 - Might have false positive results on reformat changes during to
   simple string checks.
 - Can't check incompatible changes in FlatBuffers files. Just add
   general file level comments.

We can integrate DUPCheck in the future to parse the Thrift/FlatBuffers
files to AST and compare the AST instead.
https://github.com/jwjwyoung/DUPChecker

Tests:
 - Verified incompatible commits like 012996a06 and 65094a74f.
 - Verified posting Gerrit comments from local env using my username.

Change-Id: Ib35fafa50bfd38631312d22464df14d426f55346
---
M bin/jenkins/critique-gerrit-review.py
1 file changed, 138 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/21646/3
--
To view, visit http://gerrit.cloudera.org:8080/21646
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib35fafa50bfd38631312d22464df14d426f55346
Gerrit-Change-Number: 21646
Gerrit-PatchSet: 3
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to