> > Hello, when using jdbc, I need to set some properties before executing the query. It is not supported currently, so I added some things to help with the review. Implement jdbc:hive2 custom attribute configuration, such as 'SET spark.tispark.pd.addresses=pd1:2379,pd2:2379,pd3:2379' #5913
Closed
Description
> > Hello, when using jdbc, I need to set some properties before executing the query. It is not supported currently, so I added some things to help with the review. Implement jdbc:hive2 custom attribute configuration, such as 'SET spark.tispark.pd.addresses=pd1:2379,pd2:2379,pd3:2379'
If you do not need user defined operations and data write operations in the same session, you can use
data_save_mode
; If you need these operations to be in the same session, you can propose a proposal to discuss this issue.
I need to set these configurations in the same session, because these configurations are required when executing SQL in the current session and cannot be satisfied across sessions.I make a proposal.
Originally posted by @bright-zy in #5875 (comment)