Skip to content

Commit

Permalink
update list reference parser (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
lych4o authored and TatianaJin committed Jul 29, 2024
1 parent f6b674d commit da03254
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions velox/substrait/SubstraitParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ int32_t SubstraitParser::parseReferenceSegment(
kStructField: {
return refSegment.struct_field().field();
}
case ::substrait::Expression::ReferenceSegment::ReferenceTypeCase::kListElement: {
return refSegment.list_element().offset();
}
default:
VELOX_NYI(
"Substrait conversion not supported for ReferenceSegment '{}'",
Expand Down

0 comments on commit da03254

Please sign in to comment.