Skip to content

Conversation

@erezrokah
Copy link
Member

Summary

Fixes #11538. This is a breaking change since now if a number has precision it will create a float type column at the destination.

Parsing the precision and scale is take from https://github.com/cloudquery/cloudquery/pull/11115/files#diff-619acf691639d4d0288b58b3814d54d67a93f4774f22d61dc5812348ef099b4c and I'll port the query update from this PR to #11115

BEGIN_COMMIT_OVERRIDE
feat: Support number type with precision and scale
BREAKING-CHANGE: Support for parsing number type precision and scale was added. As a result number columns with scale that is different than 0, e.g. number(6,2) will be converted to float type at the destination instead of int. You might need to either run with forced migration mode or migrate the destination manually.

END_COMMIT_OVERRIDE

Copy link
Member

@disq disq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jun 14, 2023
@kodiakhq kodiakhq bot merged commit 6a1bd00 into cloudquery:main Jun 14, 2023
@erezrokah erezrokah deleted the fix/oracledb_int_types branch June 14, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: oracledb source plugin incorrectly tries and fails to cast float column to integer

3 participants