Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2542#discussion_r18673448
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
 ---
    @@ -94,39 +94,51 @@ abstract class LogicalPlan extends 
QueryPlan[LogicalPlan] with Logging {
           input: Seq[Attribute],
           resolver: Resolver): Option[NamedExpression] = {
     
    -    val parts = name.split("\\.")
    +    val parts = name.split("\\.").toList
    +    // Reference to hive SemanticAnalyzer
    +    // we should filter some input Attribute if 'name' contains table 
alias.
    --- End diff --
    
    It would be good to include an example of what you mean here.  This code is 
very complex.


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

Reply via email to