You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2022/11/07 23:31:10 UTC
[arrow-datafusion] branch master updated: Update SQL reference to state that decimal support is currently experimental (#4109)
This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new b9eee5038 Update SQL reference to state that decimal support is currently experimental (#4109)
b9eee5038 is described below
commit b9eee503865b85d365ced94524f346a9aacc4ab6
Author: Andy Grove <an...@gmail.com>
AuthorDate: Mon Nov 7 16:31:05 2022 -0700
Update SQL reference to state that decimal support is currently experimental (#4109)
* Add option to parse SQL numeric literals as float or decimal
* Add note to SQL reference to state that decimal support is experimental
* Revert change from another PR
* Update docs/source/user-guide/sql/data_types.md
Co-authored-by: Remzi Yang <59...@users.noreply.github.com>
* prettier
Co-authored-by: Remzi Yang <59...@users.noreply.github.com>
Co-authored-by: Andrew Lamb <an...@nerdnetworks.org>
---
docs/source/user-guide/sql/data_types.md | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/docs/source/user-guide/sql/data_types.md b/docs/source/user-guide/sql/data_types.md
index 1cd79743b..1d5c0f9fc 100644
--- a/docs/source/user-guide/sql/data_types.md
+++ b/docs/source/user-guide/sql/data_types.md
@@ -35,20 +35,20 @@ This mapping occurs when defining the schema in a `CREATE EXTERNAL TABLE` comman
## Numeric Types
-| SQL DataType | Arrow DataType |
-| ------------------------------------ | :---------------- |
-| `TINYINT` | `Int8` |
-| `SMALLINT` | `Int16` |
-| `INT` or `INTEGER` | `Int32` |
-| `BIGINT` | `Int64` |
-| `TINYINT UNSIGNED` | `UInt8` |
-| `SMALLINT UNSIGNED` | `UInt16` |
-| `INT UNSIGNED` or `INTEGER UNSIGNED` | `UInt32` |
-| `BIGINT UNSIGNED` | `UInt64` |
-| `FLOAT` | `Float32` |
-| `REAL` | `Float32` |
-| `DOUBLE` | `Float64` |
-| `DECIMAL(p,s)` | `Decimal128(p,s)` |
+| SQL DataType | Arrow DataType | Notes |
+| ------------------------------------ | :---------------------------- | ----------------------------------------------------------------------------------------------------------- |
+| `TINYINT` | `Int8` | |
+| `SMALLINT` | `Int16` | |
+| `INT` or `INTEGER` | `Int32` | |
+| `BIGINT` | `Int64` | |
+| `TINYINT UNSIGNED` | `UInt8` | |
+| `SMALLINT UNSIGNED` | `UInt16` | |
+| `INT UNSIGNED` or `INTEGER UNSIGNED` | `UInt32` | |
+| `BIGINT UNSIGNED` | `UInt64` | |
+| `FLOAT` | `Float32` | |
+| `REAL` | `Float32` | |
+| `DOUBLE` | `Float64` | |
+| `DECIMAL(precision,scale)` | `Decimal128(precision,scale)` | Decimal support is currently experimental ([#3523](https://github.com/apache/arrow-datafusion/issues/3523)) |
## Date/Time Types