Skip to content

Enable read-only support #866

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

Merged
merged 1 commit into from
Mar 14, 2022
Merged

Enable read-only support #866

merged 1 commit into from
Mar 14, 2022

Conversation

zhicwu
Copy link
Contributor

@zhicwu zhicwu commented Mar 14, 2022

No description provided.

@zhicwu zhicwu linked an issue Mar 14, 2022 that may be closed by this pull request
@zhicwu zhicwu merged commit 9cd3797 into ClickHouse:develop Mar 14, 2022
@zhicwu zhicwu deleted the fix-readonly branch March 14, 2022 00:47
@den-crane
Copy link
Collaborator

den-crane commented Mar 14, 2022

@zhicwu getSetting('readonly')

SELECT
    currentUser(),
    timezone(),
    version(),
    getSetting('readonly')

┌─currentUser()─┬─timezone()─┬─version()──┬─getSetting('readonly')─┐
│ default       │ Etc/UTC    │ 20.8.17.250 │
└───────────────┴────────────┴────────────┴────────────────────────┘

@zhicwu
Copy link
Contributor Author

zhicwu commented Mar 14, 2022

Thanks @den-crane, I was wondering if there's better way to retrieve specific settings. Will update in next release.

rernas35 pushed a commit to rernas35/clickhouse-jdbc that referenced this pull request May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setReadOnly() is not implemented
2 participants