You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2020/06/09 14:00:46 UTC

[spark] branch master updated: [SPARK-31906][SQL][DOCS] Enhance comments in NamedExpression.qualifier

This is an automated email from the ASF dual-hosted git repository.

wenchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new ca2cfd4  [SPARK-31906][SQL][DOCS] Enhance comments in NamedExpression.qualifier
ca2cfd4 is described below

commit ca2cfd4185586993f981cfd2f1aff30ee6b2294e
Author: lipzhu <li...@ebay.com>
AuthorDate: Tue Jun 9 13:59:00 2020 +0000

    [SPARK-31906][SQL][DOCS] Enhance comments in NamedExpression.qualifier
    
    ### Why are the changes needed?
    The qualifier name should contains catalog name.
    
    ### Does this PR introduce _any_ user-facing change?
    NO.
    
    ### How was this patch tested?
    UT.
    
    Closes #28726 from lipzhu/SPARK-31906.
    
    Authored-by: lipzhu <li...@ebay.com>
    Signed-off-by: Wenchen Fan <we...@databricks.com>
---
 .../org/apache/spark/sql/catalyst/expressions/namedExpressions.scala     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
index 77b4cec..2abd9d7 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
@@ -85,6 +85,7 @@ trait NamedExpression extends Expression {
    *    e.g. top level attributes aliased in the SELECT clause, or column from a LocalRelation.
    * 2. Seq with a Single element: either the table name or the alias name of the table.
    * 3. Seq with 2 elements: database name and table name
+   * 4. Seq with 3 elements: catalog name, database name and table name
    */
   def qualifier: Seq[String]
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org