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

HIVE-28358: Enable JDBC getClob retrieval from String columns #5336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vpinna80
Copy link

@vpinna80 vpinna80 commented Jul 5, 2024

What changes were proposed in this pull request?

This PR proposes an implementation for the getClob(int) and getClob(String) methods of HiveBaseResultSet.

Why are the changes needed?

please see HIVE-28358.

Does this PR introduce any user-facing change?

Yes. The current getClob() methods of HiveBaseResultSet just throw an exception. The proposed change returns a SerialClob already initialized with a char array obtained from the corresponding getString() methods.

Is the change a dependency upgrade?

No

How was this patch tested?

Testing was done inside the "poorly designed application". Other additional tests were not deemed useful since the functionality is not present in the master release.

Copy link

sonarcloud bot commented Jul 5, 2024

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