-
Notifications
You must be signed in to change notification settings - Fork 29
Adding Struct Support #73
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
Conversation
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.
Nice work!
You need to add unit tests, integration tests and fix DCO.
private static final Set<Class> supportedJavaClasses = Collections.unmodifiableSet( | ||
new HashSet<>(Arrays.asList( | ||
Struct.class | ||
))); |
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.
Maybe ... = Set.of(Struct.class);
? If it is available in this version of java.
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.
Yeah so for where we are using the JDBC driver we need java 8 support, so wouldn't be able to use the java 11 collections apis.
Signed-off-by: Andrey Kuzin <[email protected]>
Signed-off-by: Andrey Kuzin <[email protected]>
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.
Can you build the driver and run an OpenSearch cluster with corresponding data and verify that everything works fine now?
Few screenshots from a DB management tool showing before and after your fix would a great proof.
I can provide you a sample data for tests if you need.
Yeah I can definitely do that and any sample data would be great to have. Thank you. |
Signed-off-by: Andrey Kuzin <[email protected]>
Signed-off-by: Andrey Kuzin <[email protected]>
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.
Thanks for the change!
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.
Thanks for the changes!
Description
Adds Struct support to driver.
Issues Resolved
#65
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.