Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style
  • Loading branch information
HyukjinKwon committed Jul 28, 2018
commit fe3c0a0254d4db767750d2afa0294ecd2d8ee24f
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ class PartitionBatchPruningSuite
testArrayData.map(_._1))
// Do not filter on binary type
checkBatchPruning(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before this change, Expected Array(Array(1)), but got Array() Wrong query result

query = "SELECT _1 FROM pruningBinaryData WHERE _1 == binary(chr(1))",
expectedReadPartitions = 5,
expectedReadBatches = 10)(Seq(Array(1.toByte)))
"SELECT _1 FROM pruningBinaryData WHERE _1 == binary(chr(1))", 5, 10)(Seq(Array(1.toByte)))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: unneeded blank line

// IS NULL
checkBatchPruning("SELECT key FROM pruningData WHERE value IS NULL", 5, 5) {
Expand Down