Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle int data type issues #84

Open
eknv21 opened this issue Aug 11, 2020 · 0 comments
Open

Oracle int data type issues #84

eknv21 opened this issue Aug 11, 2020 · 0 comments

Comments

@eknv21
Copy link

eknv21 commented Aug 11, 2020

In Cloud Data Fusion, i am using oracle plugin provided to get data from Oracle 18c database. When using this for source, I able to successfully extract varchar data, but the number/integer types are not successful. Oracle table values are:

|ID (int) | NAME(varchar2) |
----------------------------
|501      | raja           |
|502      | praveen        |

Preview on DataFusion shows as below, notice the ID column, the values are different :

|ID(decimal)  | NAME (string)  |
--------------------------------
|[1,-11]      | raja           |
|[1,-10]      | praveen        |

On the output file, i can see the values as:

[B@5f50fd07,raja
[B@6787d919,praveen

What are these values on ID column getting translated to? For decimals in oracle table, i get values like [0,-61,-66]. Are there implicit conversion of number types in data fusion. I'm using the oracle drivers provided by Data fusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant