vidma commented on PR #39976:
URL: https://github.com/apache/spark/pull/39976#issuecomment-1752930380

   this wouldn't fix the `.observe()` not working in `df.write.jdbc()` because 
that one uses `repartitionedDF.rdd.foreachPartition` (i.e. with extra `.rdd`)!
    I think we need to remove .rdd usage from `JdbcUtils.scala` and make any 
other changes if necessary.
   
   @zzzzming95 @HyukjinKwon @beliefer
   
   
https://github.com/zzzzming95/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala#L901-L903


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to