[FOLLOWUP] Investigate use of GpuScalar.getValue
for MAP
scalars in GpuRaiseError
#11974
Labels
GpuScalar.getValue
for MAP
scalars in GpuRaiseError
#11974
This is a follow-up task for #11969.
GpuRaiseError
currently usesGpuScalar.getValue
to extract the value oferrorParams
from theGpuScalar
argument indoColumnar(Int, GpuScalar, GpuScalar)
.This might well be alright to do. All testing indicates that the Scalar has its host value set correctly.
However, if the host value isn't set,
GpuScalar::getValue
would useGpuScalar.extract
to fetch the value. That method does not handle nested-type scalars correctly.It would be worth investigating if that's a real possibility, and whether we should handle the map-scalar extraction differently.
The text was updated successfully, but these errors were encountered: