Skip to content

[Feature] [Jdbc] custom configuration #5875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bright-zy
Copy link

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'

bright-zy and others added 2 commits November 18, 2023 16:16
…rk.tispark.pd.addresses=pd1:2379,pd2:2379,pd3:2379'

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@EricJoy2048
Copy link
Member

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.

@bright-zy
Copy link
Author

@bright-zy
Copy link
Author

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.

@EricJoy2048
Copy link
Member

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.

Do you have any ideas or designs to implement this feature? If so, you can share them here via email or google document for our discussion?

Copy link

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants