Skip to content

Commit

Permalink
Update to use Databricks SQL Type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevenannn committed Dec 6, 2024
1 parent 187473a commit 7acff8e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions spiceaidocs/docs/components/data-connectors/databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,24 +169,24 @@ Configure the connection to the object store when using `mode: delta_lake`. Use

The table below shows the Databricks (mode: delta_lake) data types supported, along with the type mapping to Apache Arrow types in Spice.

| Delta Kernel Type | Arrow Type |
| ----------------- | ------------------------------------- |
| `String` | `Utf8` |
| `Long` | `Int64` |
| `Integer` | `Int32` |
| `Short` | `Int16` |
| `Byte` | `Int8` |
| `Float` | `Float32` |
| `Double` | `Float64` |
| `Boolean` | `Boolean` |
| `Binary` | `Binary` |
| `Date` | `Date32` |
| `Timestamp` | `Timestamp(Microsecond, Some("UTC"))` |
| `TimestampNtz` | `Timestamp(Microsecond, None)` |
| `Decimal` | `Decimal128` |
| `Array` | `List` |
| `Struct` | `Struct` |
| `Map` | `Map` |
| Databricks SQL Type | Arrow Type |
| ------------------- | ------------------------------------- |
| `STRING` | `Utf8` |
| `BIGINT` | `Int64` |
| `INT` | `Int32` |
| `SMALLINT` | `Int16` |
| `TINYINT` | `Int8` |
| `FLOAT` | `Float32` |
| `DOUBLE` | `Float64` |
| `BOOLEAN` | `Boolean` |
| `BINARY` | `Binary` |
| `DATE` | `Date32` |
| `TIMESTAMP` | `Timestamp(Microsecond, Some("UTC"))` |
| `TIMESTAMP_NTZ` | `Timestamp(Microsecond, None)` |
| `DECIMAL` | `Decimal128` |
| `ARRAY` | `List` |
| `STRUCT` | `Struct` |
| `MAP` | `Map` |

## Secrets

Expand Down

0 comments on commit 7acff8e

Please sign in to comment.