beliefer commented on PR #34693:
URL: https://github.com/apache/spark/pull/34693#issuecomment-1111699283

   The case case show below works well.
   ```
     test("investigate ctes") {
       checkAnswer(sql("WITH t AS (SELECT id, name FROM h2.test.empty_table) 
SELECT * FROM t"), Seq())
       checkAnswer(sql("WITH t AS (SELECT id, name FROM h2.test.people) SELECT 
* FROM t"),
         Seq(Row(1, "fred"), Row(2, "mary")))
     }
   ```


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

Reply via email to