Skip to content
Discussion options

You must be logged in to vote

K I see. Yes, Oracle uses NUMBER for integers and decimals, so sling defaults that to decimals. And I'm guessing the string columns are CLOB or BLOB? Those get mapped to the text general type which translates to NVARCHAR(MAX), since those are usually large values.

Indeed your best bet is to define the source.options.columns, where you can specify integer / bigint for the PKs, and string for the others if you don't want text/NVARCHAR(MAX) for them. Sling will determine the proper length and auto create NVARCHAR({length}) columns. A suggestion is to define those in the defaults section in the Replication YAML (if the column names are re-used across many tables, typical for PKs).

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@cody-scott
Comment options

@cody-scott
Comment options

@flarco
Comment options

Answer selected by flarco
@flarco
Comment options

@flarco
Comment options

@cody-scott
Comment options

@cody-scott
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants