You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "vidma (via GitHub)" <gi...@apache.org> on 2023/10/09 12:36:05 UTC

Re: [PR] [SPARK-42034] QueryExecutionListener and Observation API do not work with `foreach` / `reduce` / `foreachPartition` action. [spark]

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org