This message was deleted.
# general
s
This message was deleted.
b
Could you provide examples of your queries? If you are doing count distinct, data sketches on
s_id
may be useful
r
is s_id always a string? can you re-import as string using the index enable and make sure the query planner knows about it eg:
cast (s_id as varchar) IN (?, ...
) ` for example
a
message has been deleted
@Brandon Tan nothing fancy, simple selects and aggregations @Renato Santos That’s not done automatically? Yes s_id is always a string!
r
@Abdel what you are referencing to? if you don't defined any column on the ingestion, yes, it's the default for dimensions be imported as string with the bitmap index created
createBitmapIndex
default is true for string, long, float, json and double it's false bc id do not support any indexing aside the segment/time but what I discovery is that is best to help calcite when writing the queries to cast the dimension to string, just to not depend on the heuristics of planning.