-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Improve] Improve some connectors prepare check error message #7465
[Improve] Improve some connectors prepare check error message #7465
Conversation
Before this PR, can we get the version error message from cause by block of |
.../src/main/java/org/apache/seatunnel/connectors/seatunnel/influxdb/source/InfluxDBSource.java
Outdated
Show resolved
Hide resolved
Modified. Cassandra is modified to throw new CassandraConnectorException(
SeaTunnelAPIErrorCode.CONFIG_VALIDATION_FAILED,
String.format(
"PluginName: %s, PluginType: %s, Message: %s %s",
getPluginName(),
PluginType.SINK,
checkResult.getMsg(),
ExceptionUtils.getMessage(e))); because checkResult is an externally spliced object. |
...ra/src/main/java/org/apache/seatunnel/connectors/seatunnel/cassandra/sink/CassandraSink.java
Outdated
Show resolved
Hide resolved
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 if ci passes. Thanks @zhangshenghang
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
…#7465) * [improve]influxdb exception log print * [fixbug]fix some problem * [improve]improve print * [improve]improve cassandra and clickhou exception print * [improve]improve cassandra exception print
…#7465) * [improve]influxdb exception log print * [fixbug]fix some problem * [improve]improve print * [improve]improve cassandra and clickhou exception print * [improve]improve cassandra exception print
Purpose of this pull request
My influxDB version is 1.3.7. When using SeaTunnel, an error message is displayed: Get column index of query result exception. There is no error message about incorrect version. The exception of the supported version range should be returned to the customer to facilitate troubleshooting.
How was this patch tested?
Runs locally and on servers
Check list
New License Guide
release-note
.