You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/02/21 17:13:59 UTC

[GitHub] [arrow] westonpace commented on issue #34266: [C++] Add a pivot_longer node

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org