dongjoon-hyun commented on code in PR #59735:
URL: https://github.com/apache/spark/pull/59735#discussion_r4360117405
##########
sql/connect/server/src/test/scala/org/apache/spark/sql/connect/pipelines/PythonPipelineSuite.scala:
##########
@@ -404,6 +404,65 @@ class PythonPipelineSuite
Set(graphIdentifier("b"), graphIdentifier("d")))
}
+ test("SPARK-60494: referencing internal datasets through DataFrame arguments
of spark.sql") {
Review Comment:
Thank you. I added both.
- `referencing internal datasets failed` now has a flow that reads `src`
through a DataFrame argument. It fails graph resolution with
`TABLE_OR_VIEW_NOT_FOUND` for `` `spark_catalog`.`default`.`src` ``, not for
the generated alias.
- The positive test now has `d`, which applies `where("id > 0")` to the
result, and `e`, which passes an untransformed result as a DataFrame argument
of another `spark.sql` call. On a new pipeline, both list `src` among their
inputs and produce the expected rows.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]