Grant Henke has submitted this change and it was merged. ( )

Change subject: KUDU-721: Support for Decimal type, Part 1 (Server, C++ Client)

KUDU-721: Support for Decimal type, Part 1 (Server, C++ Client)

Introduces the Decimal type to the server and
C++ client. Follow on work will enhance the
utility in the client and add support to the
Java client and other integrations and add

The decimal type has column type attributes to
support the “parameterized type”. The precision
and scale column type attributes are not stored
with each value, but instead are leveraged to map
to a correctly sized internal type
internal types are represented and stored as
equivalently sized integers.

This also removes the int128 suffixes because
they break the client by using C++11 features.
They may be added back in a different way later.

Change-Id: I3b06142f43c66973f36376bd2c88ca6f8d9f7632
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <>
Reviewed-by: Grant Henke <>
M src/kudu/client/CMakeLists.txt
M src/kudu/client/
M src/kudu/client/
M src/kudu/client/scan_batch.h
M src/kudu/client/
M src/kudu/client/schema-internal.h
M src/kudu/client/
M src/kudu/client/schema.h
M src/kudu/client/value-internal.h
M src/kudu/client/
M src/kudu/client/value.h
M src/kudu/common/
M src/kudu/common/
M src/kudu/common/common.proto
M src/kudu/common/
M src/kudu/common/
M src/kudu/common/partial_row.h
M src/kudu/common/
M src/kudu/common/
M src/kudu/common/schema.h
M src/kudu/common/
M src/kudu/common/types.h
M src/kudu/common/
M src/kudu/integration-tests/CMakeLists.txt
M src/kudu/integration-tests/
A src/kudu/integration-tests/
M src/kudu/util/CMakeLists.txt
A src/kudu/util/
A src/kudu/util/
A src/kudu/util/decimal_util.h
M src/kudu/util/
M src/kudu/util/int128.h
32 files changed, 1,356 insertions(+), 171 deletions(-)

  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved
  Grant Henke: Looks good to me, approved

To view, visit
To unsubscribe, visit

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3b06142f43c66973f36376bd2c88ca6f8d9f7632
Gerrit-Change-Number: 8830
Gerrit-PatchSet: 33
Gerrit-Owner: Grant Henke <>
Gerrit-Reviewer: Adar Dembo <>
Gerrit-Reviewer: Alexey Serbin <>
Gerrit-Reviewer: Dan Burkert <>
Gerrit-Reviewer: Grant Henke <>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <>

Reply via email to