Skip to content

Commit 9064bcb

Browse files
committed
Add ignored test from stale branch
Signed-off-by: Jason T. Brown <[email protected]>
1 parent 2ff9714 commit 9064bcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/test/scala/org/locationtech/rasterframes/ExplodeSpec.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class ExplodeSpec extends TestEnvironment with TestData {
4444
|""".stripMargin)
4545
write(query)
4646
assert(query.select("cell_0", "cell_1").as[(Double, Double)].collect().forall(_ == ((1.0, 2.0))))
47+
query.select("cell_0", "cell_1").count() should be (100L)
4748
val query2 = sql(
4849
"""|select rf_dimensions(tiles) as dims, rf_explode_tiles(tiles) from (
4950
|select rf_make_constant_tile(1, 10, 10, 'int8raw') as tiles)
@@ -66,10 +67,11 @@ class ExplodeSpec extends TestEnvironment with TestData {
6667
assert(exploded.count() < 9)
6768
}
6869

69-
it("should explode tiles with random sampling in SQL API") {
70+
ignore("should explode tiles with random sampling in SQL API") {
71+
// was pretty much a WONT FIX from issue 97
7072
val df = Seq[(Tile, Tile)]((byteArrayTile, byteArrayTile)).toDF("tile1", "tile2")
7173
val exploded = df.selectExpr("rf_explode_tiles_sample(0.5, tile1, tile2)")
72-
logger.info("rf_explode_tiles schema with double frac arg attempt" + exploded.schema.treeString)
74+
logger.info("rf_explode_tiles schema with double frac arg \n" + exploded.schema.treeString)
7375
assert(exploded.columns.length === 4)
7476
assert(exploded.count() < 9)
7577

0 commit comments

Comments
 (0)