Hello,
I occassionally can have a WHERE with an IN clause with thousands of values. With such queries many times CH simply returns a "No data found."
To solve this issue the doc says I should use temporary tables. But I don't see how I must create this table, how I should insert the list of values of the IN clause and how to query it.
I understand I should create the temporary table with just one field called "ID" (for example), then insert all the IN clause identifiers into this table and then perform a subselect against it.
I'm using clickhouse-go driver. Is there any sample I could check, or can you help me how to do this?
Thanks,
Joan.