Closed andygrove closed 2 days ago
test("basic data type support") {
Seq(true, false).foreach { dictionaryEnabled =>
withTempDir { dir =>
val path = new Path(dir.toURI.toString, "test.parquet")
makeParquetFileAllTypes(path, dictionaryEnabled = dictionaryEnabled, 10000)
withParquetTable(path.toString, "tbl") {
// TODO: enable test for unsigned ints
checkSparkAnswerAndOperator(
"select _1, _2, _3, _4, _5, _6, _7, _8, _13, _14, _15, _16, _17, " +
"_18, _19, _20 FROM tbl WHERE _2 > 100")
}
}
}
}
Describe the bug
In
makeParquetFileAllTypes
we create some columns with unsigned types:In existing tests, we have TODO comments and skip testing these columns. For example, in
CometExpressionSuite
we have:I tried enabling these tests and see that it results in incorrect results.
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response