westonpace commented on issue #34266: URL: https://github.com/apache/arrow/issues/34266#issuecomment-1438830778
It appears that DuckDb has tackled the [pivot feature](https://github.com/duckdb/duckdb/pull/6387) at the same time (and their implementation is much more complete). They use unnest for pivot longer but it's not clear to me that we could do the same thing here. It relies on the ability to create a sort of list comprehension out of field references to convert field references to elements into a field reference to a list element (I'm not sure exactly what this syntax is called). It's quite impressive :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
