Skip to content

Commit

Permalink
[DOCS] Fix spelling (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Oct 10, 2024
1 parent 377565e commit 678da00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ case class ST_GeomFromWKB(inputExpressions: Seq[Expression])
with FoldableExpression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {
// This is an expression which takes one input expressions
assert(inputExpressions.length == 1)

Expand Down Expand Up @@ -193,7 +193,7 @@ case class ST_GeomFromEWKB(inputExpressions: Seq[Expression])
with FoldableExpression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {
// This is an expression which takes one input expressions
assert(inputExpressions.length == 1)

Expand Down Expand Up @@ -233,7 +233,7 @@ case class ST_LineFromWKB(inputExpressions: Seq[Expression])
with FoldableExpression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {

// Validate the number of input expressions (1 or 2)
assert(inputExpressions.length >= 1 && inputExpressions.length <= 2)
Expand Down Expand Up @@ -290,7 +290,7 @@ case class ST_LinestringFromWKB(inputExpressions: Seq[Expression])
with FoldableExpression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {

// Validate the number of input expressions (1 or 2)
assert(inputExpressions.length >= 1 && inputExpressions.length <= 2)
Expand Down Expand Up @@ -347,7 +347,7 @@ case class ST_PointFromWKB(inputExpressions: Seq[Expression])
with FoldableExpression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {

// Validate the number of input expressions (1 or 2)
assert(inputExpressions.length >= 1 && inputExpressions.length <= 2)
Expand Down Expand Up @@ -410,7 +410,7 @@ case class ST_GeomFromGeoJSON(inputExpressions: Seq[Expression])
extends Expression
with FoldableExpression
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {
// This is an expression which takes one input expressions
val minInputLength = 1
assert(inputExpressions.length >= minInputLength)
Expand Down Expand Up @@ -538,7 +538,7 @@ case class ST_PolygonFromEnvelope(inputExpressions: Seq[Expression])
}
}

trait UserDataGeneratator {
trait UserDataGenerator {
def generateUserData(
minInputLength: Integer,
inputExpressions: Seq[Expression],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.sql.catalyst.expressions.codegen.CodegenFallback
import org.apache.spark.sql.catalyst.expressions.{Expression, ImplicitCastInputTypes, UnsafeArrayData}
import org.apache.spark.sql.catalyst.util.GenericArrayData
import org.apache.spark.sql.sedona_sql.expressions.UserDataGeneratator
import org.apache.spark.sql.sedona_sql.expressions.UserDataGenerator
import org.apache.spark.sql.types._
import org.apache.spark.unsafe.types.UTF8String

Expand All @@ -36,7 +36,7 @@ case class RS_Array(inputExpressions: Seq[Expression])
extends Expression
with ImplicitCastInputTypes
with CodegenFallback
with UserDataGeneratator {
with UserDataGenerator {
override def nullable: Boolean = false

override def eval(inputRow: InternalRow): Any = {
Expand Down

0 comments on commit 678da00

Please sign in to comment.