danny0405 commented on code in PR #11568:
URL: https://github.com/apache/hudi/pull/11568#discussion_r1667210894
##########
hudi-spark-datasource/hudi-spark3.1.x/src/main/scala/org/apache/spark/sql/HoodieSpark31CatalystPlanUtils.scala:
##########
@@ -83,4 +82,13 @@ object HoodieSpark31CatalystPlanUtils extends
HoodieSpark3CatalystPlanUtils {
override def unapplyShowIndexes(plan: LogicalPlan): Option[(LogicalPlan,
Seq[Attribute])] = None
override def unapplyRefreshIndex(plan: LogicalPlan): Option[(LogicalPlan,
String)] = None
+
+ override def unapplyInsertIntoStatement(plan: LogicalPlan):
Option[(LogicalPlan, Seq[String], Map[String, Option[String]], LogicalPlan,
Boolean, Boolean)] = {
+ plan match {
+ case insert: InsertIntoStatement =>
+ Some((insert.table, Seq.empty, insert.partitionSpec, insert.query,
insert.overwrite, insert.ifPartitionNotExists))
Review Comment:
Should we log some msg here?
--
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]