Kim Jin Chul has posted comments on this change. ( http://gerrit.cloudera.org:8080/8893 )
Change subject: IMPALA-3651: Adds murmur_hash() built-in function ...................................................................... Patch Set 2: (3 comments) http://gerrit.cloudera.org:8080/#/c/8893/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/8893/2//COMMIT_MSG@13 PS2, Line 13: Add unit tests for primitive types > Can you add a test query to exprs.test, just to make sure it works end-to-e Done http://gerrit.cloudera.org:8080/#/c/8893/2/be/src/exprs/expr-test.cc File be/src/exprs/expr-test.cc: http://gerrit.cloudera.org:8080/#/c/8893/2/be/src/exprs/expr-test.cc@4564 PS2, Line 4564: // Test murmur_hash > nit: comment is not really needed. Maybe it would actually be best to make Done. Add a new function: ExprTest.MurmurHashFunction http://gerrit.cloudera.org:8080/#/c/8893/2/be/src/exprs/expr-test.cc@4571 PS2, Line 4571: expected = HashUtil::MurmurHash2_64(s.data(), s.size(), HashUtil::MURMUR_DEFAULT_SEED); > In the cases where we're hashing a constant, can you add a test that compar Done. Good point. Thanks. -- To view, visit http://gerrit.cloudera.org:8080/8893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I14d56ffb8fab256f3f66a2669271fd4b3c50cc29 Gerrit-Change-Number: 8893 Gerrit-PatchSet: 2 Gerrit-Owner: Kim Jin Chul <jinc...@gmail.com> Gerrit-Reviewer: Attila Jeges <atti...@cloudera.com> Gerrit-Reviewer: Kim Jin Chul <jinc...@gmail.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Comment-Date: Fri, 05 Jan 2018 05:45:39 +0000 Gerrit-HasComments: Yes