val aai = Literal.create(Seq(Seq(1, 2, 3), null, Seq(4, 5)),
ArrayType(ArrayType(IntegerType, containsNull = false), containsNull = true))
16:32:17.693 WARN org.apache.spark.sql.execution.GlutenFallbackReporter: Validation failed for plan: Project[QueryId=0], due to: Native validation failed:
Optional[Validation failed due to exception caught at file:SubstraitToVeloxPlanValidator.cc line:1306 function:validate, thrown from file:SubstraitToVeloxExpr.cc line:400 function:literalsToArrayVector, reason:(0 vs. 0) there should be at least 1 value in list literal.].
"literal": {
"list": {
"values": [
{
"list": {
"values": [
{
"i32": 1
},
{
"i32": 2
},
{
"i32": 3
}
]
}
},
{
"null": {
"list": {
"type": {
"i32": {
"nullability": "NULLABILITY_REQUIRED"
}
},
"nullability": "NULLABILITY_NULLABLE"
}
}
},
{
"list": {
"values": [
{
"i32": 4
},
{
"i32": 5
}
]
}
}
]
}
}
Backend
VL (Velox)
Bug description
Spark version
None
Spark configurations
No response
System information
No response
Relevant logs