tedyu commented on a change in pull request #31613:
URL: https://github.com/apache/spark/pull/31613#discussion_r581566633
##########
File path: sql/core/src/test/resources/sql-tests/results/postgreSQL/join.sql.out
##########
@@ -3225,7 +3225,7 @@ select * from
struct<>
-- !query output
org.apache.spark.sql.AnalysisException
-Reference 'f1' is ambiguous, could be: j.f1, j.f1.; line 2 pos 63
+Reference 'f1' is ambiguous, could be: j.f1#x, j.f1#x.; line 2 pos 63
Review comment:
Considering snippet of physical plan:
```
+- BatchScan[id#6, address#7, phone->'key'->1->'m'->2->>'b'#10,
phone->'key'->1->'m'->2->'b'#12] Cassandra Scan: test.person
```
multiple json path expressions would be accompanied by ExprId.id. It would
be easier to match the reference (with exprId.id) given in the
AnalysisException with the expression.
w.r.t. get_json_string, it is a function which is interpreted by Spark
extension, translating arguments to json path expression.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]