rdblue commented on code in PR #7886:
URL: https://github.com/apache/iceberg/pull/7886#discussion_r1264198460


##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/SparkSQLProperties.java:
##########
@@ -63,4 +63,9 @@ private SparkSQLProperties() {}
   // Controls the WAP branch used for write-audit-publish workflow.
   // When set, new snapshots will be committed to this branch.
   public static final String WAP_BRANCH = "spark.wap.branch";
+
+  // Controls whether to push down Iceberg system function
+  public static final String SYSTEM_FUNC_PUSH_DOWN_ENABLED =
+      "spark.sql.iceberg.system-function-push-down.enabled";
+  public static final boolean SYSTEM_FUNC_PUSH_DOWN_ENABLED_DEFAULT = false;

Review Comment:
   Why is there a setting for this and why does it default to false?
   
   Iceberg always has the option of rejecting functions by returning them 
rather than consuming them. I don't see a reason to have a flag for this.



-- 
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