Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22788#discussion_r228781145
  
    --- Diff: 
sql/core/src/test/resources/sql-tests/results/columnresolution-negative.sql.out 
---
    @@ -161,7 +161,7 @@ SELECT db1.t1.i1 FROM t1, mydb2.t1
     struct<>
     -- !query 18 output
     org.apache.spark.sql.AnalysisException
    -cannot resolve '`db1.t1.i1`' given input columns: [mydb2.t1.i1, 
mydb2.t1.i1]; line 1 pos 7
    +cannot resolve '`db1`.`t1`.`i1`' given input columns: [mydb2.t1.i1, 
mydb2.t1.i1]; line 1 pos 7
    --- End diff --
    
    do you think we should just make `sql` same as `name`? It looks to me that 
`'db1.t1.i1'` is better than `` '`db1`.`t1`.`i1`' ``, as it's more compact and 
is not ambiguous.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to