Grant Henke has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/9598 )

Change subject: KUDU-2338: [Java] Coerce BigDecimal values in KuduPredicate
......................................................................

KUDU-2338: [Java] Coerce BigDecimal values in KuduPredicate

We need to coerce the BigDecimal values to the expected
scale to ensure they can be correctly decoded server side.

This was missed in the KuduPredicate implementation though
we did it everywhere else.

I added the coercion and a test that will fail if it is ever removed.

Change-Id: Ia7e1e397524dfc2725b33b9683ebbdc38fe8cfc8
Reviewed-on: http://gerrit.cloudera.org:8080/9598
Reviewed-by: Mike Percy <mpe...@apache.org>
Tested-by: Kudu Jenkins
---
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduPredicate.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduPredicate.java
2 files changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Mike Percy: Looks good to me, approved
  Kudu Jenkins: Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia7e1e397524dfc2725b33b9683ebbdc38fe8cfc8
Gerrit-Change-Number: 9598
Gerrit-PatchSet: 3
Gerrit-Owner: Grant Henke <granthe...@gmail.com>
Gerrit-Reviewer: Dan Burkert <danburk...@apache.org>
Gerrit-Reviewer: Grant Henke <granthe...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>

Reply via email to