Skip to main content

MySQL Data Type Conversions

Note

This feature may not be available in all product editions. For more information on available features, see Compare Editions.

This section covers data type conversions between the Trifacta Application and MySQL databases.

Note

The Alteryx data types listed in this page reflect the raw data type of the converted column. Depending on the contents of the column, the Transformer Page may re-infer a different data type, when a dataset using this type of source is loaded.

Access/Read

Source Data Type

Supported?

Alteryx Data Type

array

N

bigint

Y

Integer

tinyint

Y

Integer

mediumint

Y

Integer

smallint

Y

Integer

int

Y

Integer

bit [ (n) ]

Y

String

float

Y

Float

numeric

Y

Float

decimal

Y

Decimal

real

Y

Float

boolean

Y

Bool

character varying(n), varchar(n)

Y

String

character(n), char(n)

Y

String

date

Y

Date

double

Y

Decimal

enum

N

set

N

json

Y

String

text

Y

String

tinytext

Y

String

mediumtext

Y

String

lontext

Y

String

time

Y

Datetime

datetime

Y

Datetime

timestamp

Y

Datetime

year

Y

String

Write/Publish

Note

MySQL enforces a limit of 65,535 bytes per row. During publishing, row sizes that are larger than this limit yield a Row size too large error, and the job fails.

Alteryx Data Type

MySQL Column Type

Notes

Bool

BIT

VARCHAR

TINYINT(1)

Integer

BIGINT

INT

SMALLINT

MEDIUMINT

TINYINT

VARCHAR

String

VARCHAR(1024)

TINYTEXT

TEXT

MEDIUMTEXT

LONGTEXT

Datetime

TIMESTAMP

DATETIME

DATE

VARCHAR

Timestamp

VARCHAR

Float

FLOAT

DECIMAL

REAL

NUMERIC

VARCHAR

Map

VARCHAR

Array

VARCHAR

Note

If you are appending to an existing table where a column's Alteryx data type is not mapped to the column data type in the target table, a validation error is thrown, as the platform writes unmapped types as String data type.