This is an automated email from the ASF dual-hosted git repository.
kontinuation pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 35129054 [SEDONA-311] Fix conflict with ST_Dimension (20e0de4) (#872)
35129054 is described below
commit 35129054dfe4fb84ecebad19b531a2a67b9101eb
Author: Kristin Cowalcijk <[email protected]>
AuthorDate: Sun Jun 25 09:57:57 2023 +0800
[SEDONA-311] Fix conflict with ST_Dimension (20e0de4) (#872)
---
.../scala/org/apache/spark/sql/sedona_sql/expressions/Functions.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sql/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Functions.scala
b/sql/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Functions.scala
index c084eec1..f8eef8a8 100644
---
a/sql/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Functions.scala
+++
b/sql/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Functions.scala
@@ -1006,7 +1006,7 @@ case class ST_Translate(inputExpressions: Seq[Expression])
}
case class ST_Dimension(inputExpressions: Seq[Expression])
- extends InferredUnaryExpression(Functions.dimension) with FoldableExpression
{
+ extends InferredExpression(Functions.dimension _) with FoldableExpression {
protected def withNewChildrenInternal(newChildren: IndexedSeq[Expression]) =
{
copy(inputExpressions = newChildren)
}