Skip to content

Unknown return value of column Number(17,2) #50

Closed Answered by averemee-si
iamjavadev1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi iamjavadev1
Connector documentation clearly state in section Oracle RDBMS Type Mapping that by default

Oracle RDBMS Type JSON Type Comment
DATE int32 org.apache.kafka.connect.data.Date
TIMESTAMP% int64 org.apache.kafka.connect.data.Timestamp
NUMBER int8 NUMBER(1,0) & NUMBER(2,0)
NUMBER int16 NUMBER(3,0) & NUMBER(4,0)
NUMBER int32 NUMBER(5,0) & NUMBER(6,0) & NUMBER(7,0) & NUMBER(8,0)
NUMBER int64 Other Integers between billion and 1,000,000,000,000,000,000
NUMBER float64 Oracle NUMBER without specified SCALE and PRECISION
NUMBER bytes org.apache.kafka.connect.data.Decimal - all other numerics

So oracdc sends this data as org.apache.kafka.connect.data.Decimal and …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iamjavadev1
Comment options

Answer selected by averemee-si
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