wmoustafa commented on pull request #34072:
URL: https://github.com/apache/spark/pull/34072#issuecomment-969847199


   > BTW, what's the benefit over having:
   > 
   > ```sql
   > -- option `key` being passed with `value`
   > SET spark.datasource.jdbc.key=value;
   > SELECT * FROM jdbc_catalog.db.table;
   > RESET spark.datasource.jdbc.key;
   > ```
   > 
   > besides that it's just shorter?
   
   Those are table-level options so one may set different key/value pairs per 
table within the same query. Also the setting and resetting approach is not 
friendly to concurrent queries.


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