I am migrating a table from Postgres to Clickhouse, and one of the columns is a jsonb column which includes custom attributes. These attributes can be ...
I am migrating a table from Postgres to Clickhouse, and one of the columns is a jsonb column which includes custom attributes. These attributes can be ...
Query used to create the table: Table Data: job_name list_data job1 [[(1,2,'name1')],[(4,5,'nam ...
Query used to create the table: CREATE TABLE default.ntest2(job_name String, list_data Array(Tuple(s UInt64, e UInt64, name String))) ENGINE = MergeT ...
I have a table that is filled with data every 15 minutes. I need to check that there is data for all days of the entire period. there is a time column ...
I'm trying to aggregate some data, but I've a problem. There's my query (using 3 tables): I have to GROUP BY by almost all columns. Is it a real pr ...
I need to check my solution for idempotency and check how much it's different with past solution. I tried next: It's gives me information how much ...
I have 3 large tables (>100 GB with millions of rows each): events, page_views, and sessions. These tables are connected via 1-n relationships, see ...
I'm trying to create one table from another using When I use i've got around 7-9% of expected number of rows i've got from query SELECT...FROM.. ...
I need to insert the csv file data into clickhouse database in the console application using c#. while doing in sql database the data is adding to tab ...
I have quite simple setup for inserting data from Kafka to Clickhouse table. My data stream is as follows: But this table gets data stream only fro ...
I need to join two tables with 'between' condition in ClickHouse without equal expressions. How to implement this logic? I did: Then got ...
I'm trying to select rows with the max value based on a metric. So, each row should be "compared" to its own max value based on the metric of that row ...
I want find delta between first row and last row value for each group in my SQL query, but sub-query for each run is always return different values in ...
I have a TIMESTAMPTZ column in a cockroachDB source, by using clickhouse kafka consumer to read from cockroachDB changefeed i stored the TIMESTAMPTZ f ...
I use clickhouse server in docker with just 1 table and several rows in it. I can request all the data in default format with clickhouse client (over ...
I'm using the latest version of Clickhouse and trying to do a group/pivot by city and age range. For example, anyone who lives in Chicago with one gro ...
I have a table with logs of users who used certain service. Something like the table below, each row is timestamp of activity and user id. ...
I am trying out the new clickhouse lightweight deletes, which deletes rows on the next merge but asynchronously 'marks' them immediately so that they ...
The tile pretty much says it. I want to create a Materialized View whose "SELECT" clause SELECTs data from another Materialized View in Clickhouse. I ...
I have Added a skip index on a field (status_id) in clickhouse. It is used and working when I use my query as below: The result: But when I use ...