Skip to content

Commit 98c688e

Browse files
committed
Fix datacells bug
1 parent 45c6a1a commit 98c688e

File tree

1 file changed

+1
-2
lines changed
  • core/src/main/scala/org/locationtech/rasterframes/expressions

1 file changed

+1
-2
lines changed

core/src/main/scala/org/locationtech/rasterframes/expressions/package.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import org.apache.spark.sql.catalyst.{FunctionIdentifier, InternalRow, ScalaRefl
2929
import org.apache.spark.sql.types.DataType
3030
import org.apache.spark.sql.SQLContext
3131
import org.locationtech.rasterframes.expressions.accessors._
32-
import org.locationtech.rasterframes.expressions.aggregates.CellCountAggregate.DataCells
3332
import org.locationtech.rasterframes.expressions.aggregates._
3433
import org.locationtech.rasterframes.expressions.generators._
3534
import org.locationtech.rasterframes.expressions.localops._
@@ -146,7 +145,7 @@ package object expressions {
146145
registerFunction[TileMean](name = "rf_tile_mean")(TileMean.apply)
147146
registerFunction[TileStats](name = "rf_tile_stats")(TileStats.apply)
148147
registerFunction[TileHistogram](name = "rf_tile_histogram")(TileHistogram.apply)
149-
registerFunction[DataCells](name = "rf_agg_data_cells")(DataCells.apply)
148+
registerFunction[CellCountAggregate.DataCells](name = "rf_agg_data_cells")(CellCountAggregate.DataCells.apply)
150149
registerFunction[CellCountAggregate.NoDataCells](name = "rf_agg_no_data_cells")(CellCountAggregate.NoDataCells.apply)
151150
registerFunction[CellStatsAggregate.CellStatsAggregateUDAF](name = "rf_agg_stats")(CellStatsAggregate.CellStatsAggregateUDAF.apply)
152151
registerFunction[HistogramAggregate.HistogramAggregateUDAF](name = "rf_agg_approx_histogram")(HistogramAggregate.HistogramAggregateUDAF.apply)

0 commit comments

Comments
 (0)