You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by li...@apache.org on 2016/02/24 10:39:07 UTC

parquet-format git commit: PARQUET-255: Fixes a typo in decimal type specification

Repository: parquet-format
Updated Branches:
  refs/heads/master 2a8f022a4 -> 6a1664b10


PARQUET-255: Fixes a typo in decimal type specification

I believe the mentioned warning should be produced when decimal precision is less than (rather than less than or equal to) 10 when an `int64` is used to represent a decimal.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/incubator-parquet-format/26)
<!-- Reviewable:end -->

Author: Cheng Lian <li...@databricks.com>

Closes #26 from liancheng/fix-decimal-doc and squashes the following commits:

c4f2cd3 [Cheng Lian] Fixes a typo in LogicalTypes.md


Project: http://git-wip-us.apache.org/repos/asf/parquet-format/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-format/commit/6a1664b1
Tree: http://git-wip-us.apache.org/repos/asf/parquet-format/tree/6a1664b1
Diff: http://git-wip-us.apache.org/repos/asf/parquet-format/diff/6a1664b1

Branch: refs/heads/master
Commit: 6a1664b10800221590472123ab469eea8fa3edc0
Parents: 2a8f022
Author: Cheng Lian <li...@databricks.com>
Authored: Wed Feb 24 17:39:00 2016 +0800
Committer: Cheng Lian <li...@databricks.com>
Committed: Wed Feb 24 17:39:00 2016 +0800

----------------------------------------------------------------------
 LogicalTypes.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-format/blob/6a1664b1/LogicalTypes.md
----------------------------------------------------------------------
diff --git a/LogicalTypes.md b/LogicalTypes.md
index 8ca3ba4..8c73f69 100644
--- a/LogicalTypes.md
+++ b/LogicalTypes.md
@@ -88,7 +88,7 @@ integer. A precision too large for the underlying type (see below) is an error.
 
 `DECIMAL` can be used to annotate the following types:
 * `int32`: for 1 &lt;= precision &lt;= 9
-* `int64`: for 1 &lt;= precision &lt;= 18; precision &lt;= 10 will produce a
+* `int64`: for 1 &lt;= precision &lt;= 18; precision &lt; 10 will produce a
   warning
 * `fixed_len_byte_array`: precision is limited by the array size. Length `n`
   can store &lt;= `floor(log_10(2^(8*n - 1) - 1))` base-10 digits