Skip to content
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

Multiquery setting #161

Open
AkhtemWays opened this issue May 14, 2024 · 0 comments
Open

Multiquery setting #161

AkhtemWays opened this issue May 14, 2024 · 0 comments

Comments

@AkhtemWays
Copy link

I am using your client and having hard time to figure out how to specify the multiquery option when trying to write multiple write sql queries with one call of client.executeRequest()

Im doing it this way

client.executeRequest(scripts.mkString("\n"), new QuerySettings(settings = Map("multiquery" -> "true")))

Also I tried to specify this option .withValue("crobox.clickhouse.client.settings.custom.multiquery", ConfigValueFactory.fromAnyRef("true"))
But nothing seems to work and both of those attempts return error from clickhouse
com.crobox.clickhouse.ClickhouseException: Server [my host] returned code 404 Not Found; Code: 115. DB::Exception: Setting multiquery is neither a builtin setting nor started with the prefix 'SQL_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.6.2.18 (official build)

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

No branches or pull requests

1 participant