gatorsmile commented on issue #25107: [SPARK-28344][SQL] detect ambiguous 
self-join and fail the query
URL: https://github.com/apache/spark/pull/25107#issuecomment-516625206
 
 
   How about the nested column? 
   ```Scala
       val df = spark.read
         .json(Seq("""{"a": {"b": 1, "a": {"a": 1}}, "c": [{"d": 
1}]}""").toDS())
       val df1 = df
       df1.join(df, df("a.b") > df1("a.b"))
   ```

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to