Re: Acero and Substrait: How to select struct field from a struct column?

2023-08-08 Thread Li Jin
Got it - thanks! This is very helpful. We managed to generate the form Weston suggested above (from a Python producer) and managed to get this to work. On Mon, Aug 7, 2023 at 2:45 PM Weston Pace wrote: > > But I can't figure out how to express "select struct field 0 from field 2 > > of the

Re: Acero and Substrait: How to select struct field from a struct column?

2023-08-07 Thread Weston Pace
> But I can't figure out how to express "select struct field 0 from field 2 > of the original table where field 2 is a struct column" > > Any idea how the substrait message should look like for the above? I believe it would be: ``` "expression": { "selection": { "direct_reference": {