Skip to content

Commit

Permalink
only test on points
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sparing committed Jan 15, 2024
1 parent e3e8dcc commit 5484360
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ trait ST_ZBehaviors extends MosaicSpatialQueryTest {
.getWKTRowsDf()
.orderBy("id")
.select("wkt")
.where("wkt SUBSTRING(wkt, 1, 5) = 'POINT'")
.as[String]
.collect()
.map(wkt => mc.getGeometryAPI.geometry(wkt, "WKT"))
Expand All @@ -46,7 +47,7 @@ trait ST_ZBehaviors extends MosaicSpatialQueryTest {
sqlResult.zip(expected).foreach { case (l, r) => l.equals(r) shouldEqual true }
}

def stxCodegen(mosaicContext: MosaicContext): Unit = {
def stzCodegen(mosaicContext: MosaicContext): Unit = {
spark.sparkContext.setLogLevel("FATAL")
val mc = mosaicContext
val sc = spark
Expand Down

0 comments on commit 5484360

Please sign in to comment.