-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-35366][SQL] Avoid using deprecated buildForBatch and buildForStreaming
#32497
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
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #138357 has finished for PR 32497 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #138366 has finished for PR 32497 at commit
|
|
Test build #138372 has finished for PR 32497 at commit
|
|
cc @cloud-fan |
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaWrite.scala
Show resolved
Hide resolved
| formatName: String, | ||
| supportsDataType: DataType => Boolean, | ||
| info: LogicalWriteInfo) extends WriteBuilder { | ||
| trait FileWrite extends Write { |
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.
ditto
HeartSaVioR
left a comment
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.
Looks OK to me. Would be nice to address existing review comments as well.
|
@cloud-fan @HeartSaVioR, thanks for reviewing. comments are addressed. |
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #138509 has finished for PR 32497 at commit
|
|
thanks, merging to master! |
What changes were proposed in this pull request?
Currently, in DSv2, we are still using the deprecated
buildForBatchandbuildForStreaming.This PR implements the
build,toBatch,toStreaminginterfaces to replace the deprecated ones.Why are the changes needed?
Code refactor
Does this PR introduce any user-facing change?
No
How was this patch tested?
exsting UT