You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/10/18 03:07:20 UTC

[GitHub] [arrow-datafusion] houqp commented on issue #119: Add SQL support for referencing fields in structs

houqp commented on issue #119:
URL: https://github.com/apache/arrow-datafusion/issues/119#issuecomment-945323458


   In @Igosuki 's recent PR (https://github.com/apache/arrow-datafusion/pull/1006) for adding list indexing support, he proposed using `field["key"]` to access nested struct field, which I think makes the query more readable. For example, `foo.id` could mean accessing the `id` attribute from an unqualified `foo` column or accessing the `id` column from the table `foo`. `foo["id"]` makes it clear that `id` is for accessing of struct field.


-- 
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