Skip to content

Commit b9eee50

Browse files
andygroveHaoYang670alamb
authored
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 <[email protected]> * prettier Co-authored-by: Remzi Yang <[email protected]> Co-authored-by: Andrew Lamb <[email protected]>
1 parent 7b5842b commit b9eee50

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎docs/source/user-guide/sql/data_types.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ This mapping occurs when defining the schema in a `CREATE EXTERNAL TABLE` comman
3535

3636
## Numeric Types
3737

38-
| SQL DataType | Arrow DataType |
39-
| ------------------------------------ | :---------------- |
40-
| `TINYINT` | `Int8` |
41-
| `SMALLINT` | `Int16` |
42-
| `INT` or `INTEGER` | `Int32` |
43-
| `BIGINT` | `Int64` |
44-
| `TINYINT UNSIGNED` | `UInt8` |
45-
| `SMALLINT UNSIGNED` | `UInt16` |
46-
| `INT UNSIGNED` or `INTEGER UNSIGNED` | `UInt32` |
47-
| `BIGINT UNSIGNED` | `UInt64` |
48-
| `FLOAT` | `Float32` |
49-
| `REAL` | `Float32` |
50-
| `DOUBLE` | `Float64` |
51-
| `DECIMAL(p,s)` | `Decimal128(p,s)` |
38+
| SQL DataType | Arrow DataType | Notes |
39+
| ------------------------------------ | :---------------------------- | ----------------------------------------------------------------------------------------------------------- |
40+
| `TINYINT` | `Int8` | |
41+
| `SMALLINT` | `Int16` | |
42+
| `INT` or `INTEGER` | `Int32` | |
43+
| `BIGINT` | `Int64` | |
44+
| `TINYINT UNSIGNED` | `UInt8` | |
45+
| `SMALLINT UNSIGNED` | `UInt16` | |
46+
| `INT UNSIGNED` or `INTEGER UNSIGNED` | `UInt32` | |
47+
| `BIGINT UNSIGNED` | `UInt64` | |
48+
| `FLOAT` | `Float32` | |
49+
| `REAL` | `Float32` | |
50+
| `DOUBLE` | `Float64` | |
51+
| `DECIMAL(precision,scale)` | `Decimal128(precision,scale)` | Decimal support is currently experimental ([#3523](https://github.com/apache/arrow-datafusion/issues/3523)) |
5252

5353
## Date/Time Types
5454

0 commit comments

Comments
 (0)