-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat: Prevent column validation exceptions caused by Oracle CLOB JSON columns #1365
Conversation
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added suggestions and a question!
Co-authored-by: Helen Cristina <[email protected]>
Co-authored-by: Helen Cristina <[email protected]>
Co-authored-by: Helen Cristina <[email protected]>
/gcbrun |
Neil, I did some research on JSON columns in Oracle and Postgres. Oracle has multiple options for storing JSON data including a JSON type or by adding a constraint to a character type or BLOB. Postgres has Summary: Proposed feature addition allows count validation of columns of any character type in Oracle against Postgres JSON columns. It does not support BLOB - which Oracle says could be used for JSON types. Validations other than count are not supported - which makes sense because JSON objects cannot be aggregated with min, max, avg etc. I created tables in Oracle Here is what I found:
Develop branch examples:
1335-prevent-exceptions-caused-by-clob-json branch examples:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR:
I've created a new issue for row validation problems because we get exceptions for pure CLOB validations irrespective of JSON. #1364