⚡️
Easily sync Google Sheets with Clickhouse
gSheets is the easiest way to maintain and edit mappings, target KPI values, custom dimensions and events.
It allows business users real-time editing data and seeing the results without knowing anything about Big Data, SQL, and columnar databases.
What I love about Clickhouse is its rich data integration capabilities. Here's what you do in 3 minutes:
1. Create gSheet with any structured data.
2. Get a
direct link to data export to one of the known formats (CSV, JSON).
3. Create a table with engine URL specifying schema, gSheet link and file format.
CREATE TABLE dbt.margin_rate (
`date_month` Date
, `margin_rate` Float64
)
ENGINE=URL('https://docs.google.com/spreadsheets/d/{key}/gviz/tq?tqx=out:csv&sheet=margin_rate', CSVWithNames)
;
4. Query real-time in sub-second manner!
SELECT * FROM dbt.margin_rate LIMIT 200 ;
Data Warehouses have never been such interactive.
#dwh #clickhouse #pipelines