Github user cloud-fan commented on the pull request:
https://github.com/apache/spark/pull/2230#issuecomment-54601247
@marmbrus Seems hive parser will pass something like "a.b.c..." to
`LogicalPlan`, so I have to roll back(and I changed `dotExpressionHeader` to
`ident "." ident {"." ident}`). And I have done some work on `GetField` to let
it support not just StructType, but also array of struct, or array of array of
struct, or array of array of ... struct.
The idea is simple. If you want `a.b` to work, then `a` must be some level
if nested array of struct(level 0 means just a StructType). And the result of
`a.b` is same level of nested array of b-type. In this way, we can handle
nested array of strcut and simple struct in same process.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]