[FEA] JNI bindings for maps_column_view::get_value_for(column_view)
#10818
Labels
feature request
New feature or request
maps_column_view::get_value_for(column_view)
#10818
#10380 introduced a
maps_column_view
abstraction to interpretLIST<STRUCT<key,value>>
columns as maps, and look up values corresponding to keys specified either asscalar
s orcolumn
s.However, the JNI layer currently supports
ColumnView::getMapValue()
using only Scalar keys. To support key lookup using per-row expression values, one would need aColumnView::getMapValueFromKeyVector()
that takes aColumnView
. This is required to support queries like those specified in NVIDIA/spark-rapids#5204.Note that the heavy lifting is already done in the native code, i.e.
maps_column_view::get_value_for(column_view)
. All that is required is the JNI plumbing to patch through tomaps_column_view
.The text was updated successfully, but these errors were encountered: