Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions docs/source/user-guide/sql/data_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ select arrow_cast(now(), 'Timestamp(Second, None)');

## Numeric Types

| 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/datafusion/issues/3523)) |
| 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(precision, scale)` | `Decimal128(precision, scale)` |

## Date/Time Types

Expand Down
Loading