This is an automated email from the ASF dual-hosted git repository.

imbruced pushed a commit to branch sedona-arrow-udf-example
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/sedona-arrow-udf-example by 
this push:
     new 99f14e8761 SEDONA-721 Add docs.
99f14e8761 is described below

commit 99f14e87612ed386dea95e6d028de63ed87fe586
Author: pawelkocinski <[email protected]>
AuthorDate: Sun Mar 16 18:58:55 2025 +0100

    SEDONA-721 Add docs.
---
 .../spark/sql/udf/SedonaArrowEvalPython.scala      | 29 +++++++++++++++++-----
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git 
a/spark/spark-3.5/src/main/scala/org/apache/spark/sql/udf/SedonaArrowEvalPython.scala
 
b/spark/spark-3.5/src/main/scala/org/apache/spark/sql/udf/SedonaArrowEvalPython.scala
index ed2fe073ee..7600ece507 100644
--- 
a/spark/spark-3.5/src/main/scala/org/apache/spark/sql/udf/SedonaArrowEvalPython.scala
+++ 
b/spark/spark-3.5/src/main/scala/org/apache/spark/sql/udf/SedonaArrowEvalPython.scala
@@ -1,15 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.spark.sql.udf
 
 import org.apache.spark.sql.catalyst.expressions.{Attribute, PythonUDF}
 import org.apache.spark.sql.catalyst.plans.logical.{BaseEvalPython, 
LogicalPlan}
 
 case class SedonaArrowEvalPython(
-                                  udfs: Seq[PythonUDF],
-                                  resultAttrs: Seq[Attribute],
-                                  child: LogicalPlan,
-                                  evalType: Int)
-  extends BaseEvalPython {
+    udfs: Seq[PythonUDF],
+    resultAttrs: Seq[Attribute],
+    child: LogicalPlan,
+    evalType: Int)
+    extends BaseEvalPython {
   override protected def withNewChildInternal(newChild: LogicalPlan): 
SedonaArrowEvalPython =
     copy(child = newChild)
 }
-

Reply via email to