You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ku...@apache.org on 2019/06/18 05:12:08 UTC
[carbondata] branch master updated: [HOTFIX] fix error describe of
decimal
This is an automated email from the ASF dual-hosted git repository.
kunalkapoor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/carbondata.git
The following commit(s) were added to refs/heads/master by this push:
new b72e7b6 [HOTFIX] fix error describe of decimal
b72e7b6 is described below
commit b72e7b65bf7c6ba2862f807dd9ac8eec65981965
Author: lamber-ken <22...@qq.com>
AuthorDate: Mon May 6 14:51:39 2019 +0800
[HOTFIX] fix error describe of decimal
fix error describe of decimal
This closes #3204
---
docs/sdk-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sdk-guide.md b/docs/sdk-guide.md
index 002a06b..53b066b 100644
--- a/docs/sdk-guide.md
+++ b/docs/sdk-guide.md
@@ -224,7 +224,7 @@ Each of SQL data types and Avro Data Types are mapped into data types of SDK. Fo
The timestamp-micros logical type represents an instant on the global timeline, independent of a particular time zone or calendar, with a precision of one microsecond.
A timestamp-micros logical type annotates an Avro long, where the long stores the number of microseconds from the unix epoch, 1 January 1970 00:00:00.000000 UTC.
d. Decimal
- The decimal logical type represents an arbitrary-precision signed decimal number of the form unscaled × 10-scale.
+ The decimal logical type represents an arbitrary-precision signed decimal number of the form <em>unscaled × 10<sup>-scale</sup></em>.
A decimal logical type annotates Avro bytes or fixed types. The byte array must contain the two's-complement representation of the unscaled integer value in big-endian byte order. The scale is fixed, and is specified using an attribute.
e. Time (millisecond precision)
The time-millis logical type represents a time of day, with no reference to a particular calendar, time zone or date, with a precision of one millisecond.