-
Notifications
You must be signed in to change notification settings - Fork 543
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
How to batch insert when insert bitmap with extend api #661
Comments
如果批量提交的话,数据库后台就报 void DB::ParalleParsingBlockInputStream::onBackgroundException(): Code 33, e.displayText() = DB::Exception Cannot read all data.Bytes expected: 105. Stack trace.... |
Sorry for the late response. Yes, batch processing for Bitmap is currently not supported because of the text-based format the drivers uses to communicate with server. On the other hand, extend API should be enhanced for batch processing - writing data into a local file, and then load it into database using write API could be a workaround but it's very inconvenient. |
Thanks for your answer and look forward to ClickHouse-JDBC becoming more and more powerful。#661 (comment) |
+1 . hope support batch writing bitmap quickly. Thanks! |
Hi! When will it support batch insert bitmap? |
Have you tried extended API? It should work. If you're somehow stuck with jdbc driver and don't mind to test an in-development version, I can upload one for testing purpose. |
Does the extended API support batch insert bitmap? When I do (statement.execute) it succeeds, and when I do (statement.executeBatch) it fails. |
I just need to batch insert bitmaps, either using the extension API or JDBC Driver. |
If my sql is |
Below are some examples and I'll update and add more when I have time.
|
That is currently unavailable. |
0.3.2-test1 is under public testing - see #768 . Will push 0.3.2-test2 over the weekend for more features and improved performance. |
Also documented examples at here |
in other words,how to batch insert with extend api
The text was updated successfully, but these errors were encountered: