File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1589,13 +1589,6 @@ class ScanSuite extends AnyFunSuite with TestUtils
15891589 }
15901590
15911591 // Generic helpers for building batches with fixed column names c1, c2, c3
1592- private def buildBatch (schema : StructType , v1 : AnyRef ): FilteredColumnarBatch = {
1593- val c1Type = schema.fields().get(0 ).getDataType
1594- val c1Vec = DefaultGenericVector .fromArray(c1Type, Array (v1))
1595- val batch = new DefaultColumnarBatch (1 , schema, Array (c1Vec))
1596- new FilteredColumnarBatch (batch, java.util.Optional .empty())
1597- }
1598-
15991592 private def buildBatch (schema : StructType , v1 : AnyRef , v2 : AnyRef ): FilteredColumnarBatch = {
16001593 val c1Type = schema.get(" c1" ).getDataType
16011594 val c2Type = schema.get(" c2" ).getDataType
You can’t perform that action at this time.
0 commit comments