hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-26323: Expose real exception information to the client in JdbcSerDe.java

Open zhangbutao opened this issue 2 years ago • 1 comments

What changes were proposed in this pull request?

Throw real exception massage to client in method initialize of JdbcSerDe.java

Why are the changes needed?

Display friendly execption massage to the client user. Please see the details in: https://issues.apache.org/jira/browse/HIVE-26323

Does this PR introduce any user-facing change?

No.

How was this patch tested?

mvn test -Dtest=TestNegativeLlapLocalCliDriver -Dqfile=jdbc_table_create_with_wrong_password.q -Dtest.output.overwrite=true mvn test -Dtest=TestNegativeLlapLocalCliDriver -Dqfile=jdbc_table_create_with_wrong_url.q -Dtest.output.overwrite=true

zhangbutao avatar Jun 14 '22 03:06 zhangbutao

@zabetak @belugabehr Would you like to have a look? Thanks in advance.

zhangbutao avatar Jun 14 '22 09:06 zhangbutao

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.

github-actions[bot] avatar Oct 08 '22 00:10 github-actions[bot]