jonvex commented on code in PR #10778:
URL: https://github.com/apache/hudi/pull/10778#discussion_r1543215574
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/HoodieSparkUtils.scala:
##########
@@ -131,6 +132,16 @@ object HoodieSparkUtils extends SparkAdapterSupport with
SparkVersionsSupport wi
def injectSQLConf[T: ClassTag](rdd: RDD[T], conf: SQLConf): RDD[T] =
new SQLConfInjectingRDD(rdd, conf)
+ def maybeWrapDataFrameWithException(df: DataFrame, exceptionClass: String,
msg: String, shouldWrap: Boolean): DataFrame = {
+ if (shouldWrap) {
+ HoodieUnsafeUtils.createDataFrameFromRDD(df.sparkSession,
injectSQLConf(df.queryExecution.toRdd.mapPartitions {
Review Comment:
https://github.com/apache/hudi/pull/6352 alexey says that "Yes, it will
propagate to all RDDs in the execution chain (up to a shuffling point)". So I
guess the question is if there is a shuffling point?
--
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]