Skip to content

Commit 3f20ee8

Browse files
committed
Nothing matches to parameters
1 parent 373e22e commit 3f20ee8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/SupportsPartitionManagementSuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ class SupportsPartitionManagementSuite extends SparkFunSuite {
166166
(Array("part0"), InternalRow(0)) -> Set(InternalRow(0, "abc"), InternalRow(0, "def")),
167167
(Array("part1"), InternalRow("abc")) -> Set(InternalRow(0, "abc"), InternalRow(1, "abc")),
168168
(Array.empty[String], InternalRow.empty) ->
169-
Set(InternalRow(0, "abc"), InternalRow(0, "def"), InternalRow(1, "abc"))
169+
Set(InternalRow(0, "abc"), InternalRow(0, "def"), InternalRow(1, "abc")),
170+
(Array("part0", "part1"), InternalRow(3, "xyz")) -> Set(),
171+
(Array("part1"), InternalRow(3.14f)) -> Set()
170172
).foreach { case ((names, idents), expected) =>
171173
assert(partTable.listPartitionByNames(names, idents).toSet === expected)
172174
}

0 commit comments

Comments
 (0)