You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #2487, we added a this to execute_udaf_node_groupby to coerce the output to the right shapes when executing struct UDF, however, this is not great because this does similar things to pandas.execution.util.coerce_to_output but we cannot use pandas.execution.util.coerce_to_output because we are in the inner loop. (pandas.execution.util.coerce_to_output only works after getting the result from inner loop).
Would be nice to clean this up and conform to a single coercion function.
The text was updated successfully, but these errors were encountered:
cpcloud
changed the title
Remove coerce_to_dataframe from execute_udaf_node_groupby in pandas backend
refactor: remove coerce_to_dataframe from execute_udaf_node_groupby in pandas backend
Dec 29, 2021
In #2487, we added a this to execute_udaf_node_groupby to coerce the output to the right shapes when executing struct UDF, however, this is not great because this does similar things to
pandas.execution.util.coerce_to_output
but we cannot usepandas.execution.util.coerce_to_output
because we are in the inner loop. (pandas.execution.util.coerce_to_output
only works after getting the result from inner loop).Would be nice to clean this up and conform to a single coercion function.
The text was updated successfully, but these errors were encountered: