Columns
Casting Columns
When running a replication, you can specify the column types to tell Sling to cast the data to the correct type. It is not necessary to include all columns. Sling will automatically detect the types for any unspecified columns.
Acceptable data types are:
bigint
bool
datetime
decimal
ordecimal(precision, scale)
(such asdecimal(10, 2)
)integer
json
string
orstring(length)
(such asstring(100)
)text
ortext(length)
(such astext(3000)
)
Using CLI Flags
Using YAML
Using the defaults
and streams
keys, you can specify different columns for each stream.
Last updated