You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converting a hexadecimal string to a bitmap value.
I am aware that I cannot execute a query with a bitmap parameter using JDBC. For example, if I have the following query using JDBC: "select bitmapToArray(?) as res", is there any solution to pass a variable of type bitmap to the placeholder '?'?
I understand that I can use "select bitmapToArray(bitmapBuild([1,2,3....]))" instead, but when the bitmap is large, it does not work well for JDBC.
If there is no solution available, how about providing a function 'unhexAsBitmap(?)'?
This function would convert a hexadecimal parameter to a bitmap value.
The text was updated successfully, but these errors were encountered:
I require the 'select bitmap' functionality because the bitmap value is evaluated by my Java program. Subsequently, I utilize it to filter data from the 'clickhouse' table, rather than using an insert select scenario.
In conclusion,thank you for providing solution,it is very useful.
Converting a hexadecimal string to a bitmap value.
I am aware that I cannot execute a query with a bitmap parameter using JDBC. For example, if I have the following query using JDBC: "select bitmapToArray(?) as res", is there any solution to pass a variable of type bitmap to the placeholder '?'?
I understand that I can use "select bitmapToArray(bitmapBuild([1,2,3....]))" instead, but when the bitmap is large, it does not work well for JDBC.
If there is no solution available, how about providing a function 'unhexAsBitmap(?)'?
This function would convert a hexadecimal parameter to a bitmap value.
The text was updated successfully, but these errors were encountered: