-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[destination-oracle] Cannot create destination after upgrading connector version to 1.0.0 failed with ORA-00902: invalid datatype #37400
Comments
Hey, I have the same issue... |
re-categorized to the proper team |
@hugovandernotte are you interested in making and trying out the needed changes? |
Hey @evantahler, That's a kind proposal but I won't be able to do in a near future... |
As this is a community connector, so we will not be able to commit to any fixes or work on the connector. Is there a specific version of Oracle that you are using that doesn't support JSON columns? In our testing, things seem OK (including creating table with type JSON). Is it the case the in all versions of the database, NCLOB is better than JSON, or does this need to be a user option? If you wanted to modify the connector, to change |
Thanks for your answer, we are using the 19c version, and it seems that from the 21c one, the JSOn type is supported, so we will try an update on our side, I will let you know whether it fixes the issue or not :) |
Yep! using https://en.wikipedia.org/wiki/Oracle_Database, JSON types appeared version 21 of the database, and version 23 is current. |
Cannot create destination after upgrading connector version to 1.0.0 failed with ORA-00902: invalid datatype JSON types appeared version 21 of the database, and version 23 is current.
Connector Name
destination-oracle
Connector Version
1.0.0
What step the error happened?
Configuring a new connector
Relevant information
Caused by: Error : 902, Position : 140, Sql = CREATE TABLE APPS.airbyte_connection_test_308069c1c5f6407db5787f709ccc768b ( "_AIRBYTE_RAW_ID" VARCHAR(64) PRIMARY KEY, "_AIRBYTE_DATA" JSON, "_AIRBYTE_EXTRACTED_AT" TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP, "_AIRBYTE_LOADED_AT" TIMESTAMP WITH TIME ZONE DEFAULT NULL, "_AIRBYTE_META" JSON ) , OriginalSql = CREATE TABLE APPS.airbyte_connection_test_308069c1c5f6407db5787f709ccc768b ( "_AIRBYTE_RAW_ID" VARCHAR(64) PRIMARY KEY, "_AIRBYTE_DATA" JSON, "_AIRBYTE_EXTRACTED_AT" TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP, "_AIRBYTE_LOADED_AT" TIMESTAMP WITH TIME ZONE DEFAULT NULL, "_AIRBYTE_META" JSON ) , Error Msg = ORA-00902: invalid datatype
Was JSON valid datatype in oracle, in previous connector version 0.2.0 it used to be NCLOB
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: