- Databricks SQL
- BigQuery
- Snowflake
String data
Alteryx has four data types for strings:String, WString, V_String, V_WString.In Prophecy, all strings can be handled with the SQL data type STRING.| Alteryx | Prophecy (Databricks SQL) | Notes |
|---|---|---|
String / V_String | STRING | Databricks STRING is UTF-8 variable-length. While Alteryx distinguishes between fixed and variable storage, STRING covers both use cases. |
WString / V_WString | STRING | Databricks strings are Unicode by default. While Alteryx uses a separate wide-string type, STRING is effectively wide-string. |
Numeric data
Alteryx has seven numeric types:Byte, Int16, Int32, Int64, Fixed Decimal, Float, Double.| Alteryx | Prophecy (Databricks SQL) | Notes |
|---|---|---|
Byte | TINYINT | Alteryx Byte (0–255) becomes signed TINYINT (-128–127). Cast to SMALLINT if you need a higher positive range. |
Int16 | SMALLINT | Two-byte signed integer. |
Int32 | INT | Four-byte signed integer. |
Int64 | BIGINT | Eight-byte signed integer. |
Fixed Decimal | DECIMAL(p,s) | Defaults to DECIMAL with no parameters. Precision and scale can be specified explicitly. |
Float | FLOAT | 32-bit single precision (~7 digits). |
Double | DOUBLE | 64-bit double precision (~15–16 digits). |
DateTime data
Alteryx has three DateTime data types:Date, Time, DateTime.| Alteryx | Prophecy (Databricks SQL) | Notes |
|---|---|---|
Date | DATE | Calendar date (YYYY-MM-DD) without timezone. |
Time | STRING or derived TIMESTAMP | Databricks lacks a standalone TIME type. |
DateTime | TIMESTAMP | Represents precise time values with microsecond precision. |
Precision and range differences
- Databricks supports wider date ranges (year 0001–9999).
- Alteryx cannot process dates earlier than 1400.
- Casting from strings must match the expected format.
Boolean data
Alteryx type: Bool| Alteryx | Prophecy (Databricks SQL) | Notes |
|---|---|---|
Bool | BOOLEAN | True/False literal values. |
Quick reference
| Alteryx | Prophecy (Databricks SQL) |
|---|---|
| String / V_String | STRING |
| WString / V_WString | STRING |
| Byte | TINYINT |
| Int16 | SMALLINT |
| Int32 | INT |
| Int64 | BIGINT |
| Fixed Decimal | DECIMAL(p,s) |
| Float | FLOAT |
| Double | DOUBLE |
| Date | DATE |
| Time | STRING or TIMESTAMP |
| DateTime | TIMESTAMP |
| Bool | BOOLEAN |

