zhouyifan279 commented on PR #41628: URL: https://github.com/apache/spark/pull/41628#issuecomment-2100506618
@jeanlyn > 2. Use partitionPaths to get matchingPartitions, then get customPartitionLocations like what we do in this PR. We can create a function `patitionPaths: Set[String] => Map[TablePartitionSpec, String]` in `InsertIntoHadoopFsRelationCommand` and pass it to `HadoopMapReduceCommitProtocol` as a constructor param. -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org