-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-44594][SS] Remove redundant method parameter in kafka connector #42198
Conversation
After run ./dev/scalafmt, some unmodified code is formatted. |
cc @HeartSaVioR FYI |
Please don't do this, scalafmt is only used to format the |
Thanks, I push again. But the docs may be confusing here. |
@zhaomin1423 Sorry for the confusion, to be precise, only the |
On the other hand, could you file a new JIRA for this pr? |
Thanks for the explanation, I'm a newcomer. Do we need to update the description of the documentation to avoid misunderstanding for newcomers. |
Yes, I don't have a permission, have already applied, waiting for approval. |
I file and edit the title, PTAL. https://issues.apache.org/jira/browse/SPARK-44594 |
Although these two APIs are limited to the |
@LuciferYang what decision are you referring to here? I was unable to find anything in the mail list. Should this PR + corresponding Jira be closed? |
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.
+1, LGTM
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.
+1
This is not a user facing change so doesn't need to be future-proofing. Whenever we want to verify the query with params we can pass the param again.
Merged into master for Spark 4.0. Thanks @zhaomin1423 @HeartSaVioR and @HyukjinKwon |
Thanks for your help |
What changes were proposed in this pull request?
There are have redundant parameters in org.apache.spark.sql.kafka010.KafkaWriter#validateQuery and org.apache.spark.sql.kafka010.KafkaWriter#write, can remove them.
Why are the changes needed?
They are not used, remove them to make the code more concise.
Does this PR introduce any user-facing change?
no
How was this patch tested?
Existing can test it.