peter-toth edited a comment on pull request #34693:
URL: https://github.com/apache/spark/pull/34693#issuecomment-976728888


   This change also seem to work with MSSQL's temp table syntax:
   ```
   val withClause = "(SELECT * INTO #TempTable FROM (SELECT * FROM tbl WHERE x 
> 10) t)"
   val query = "SELECT * FROM #TempTable"
   val df = spark.read.format("jdbc")
     .option("url", jdbcUrl)
     .option("withClause", withClause)
     .option("query", query)
     .load()
   ```


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to