5 ms·
I essentially load in two columns one called timestamp and another with a json blob. I then use this to kick off materialized views to automagically pluck out
by nojito 5y ago
I essentially load in two columns one called timestamp and another with a json blob.
I then use this to kick off materialized views to automagically pluck out relevant JSON fields into views
Similar to this
https://eng.uber.com/logging/ https://eng.uber.com/logging/
- flurly 5y agoGreat minds think alike :) We do the exact same thing at GraphJSON https://www.graphjson.com/guides/about https://www.graphjson.com/guides/about
- mr-karan 5y agoThat's an interesting way to load data and then use with Materialized Views. However, I am curious how do you make efficient use of compression codecs[0] that Clickhouse provides, or some neat features like TTL policies [1] using this method? [0]: https://clickhouse.com/docs/en/sql-reference/data-types/lowcardinality/ https://clickhouse.com/docs/en/sql-reference/data-types/lowc... [1]: https://clickhouse.com/docs/en/sql-reference/statements/alter/ttl/ https://clickhouse.com/docs/en/sql-reference/statements/alte...
- Redsquare 5y agoMaterialized views have a backing table where you can use the codecs. Can add ttl the ingestion table