Column store implementation for ftm data based on clickhouse
Project description
ftm-columnstore
Column-store (based on Clickhouse) implementation for nomenklatura
statement-based store for ftm
entities.
Minimum Python version: 3.11
It is compatible as a store for ftmq
Usage
Set up a running clickhouse instance (pointed to via DATABASE_URI
env var,
default: localhost
), for developing purposes this could work:
make clickhouse
Then initialize the required table schema:
ftmcs init
Or drop existing data and recreate:
ftmcs init --recreate
When using the make clickhouse
command, you can play around with SQL queries
in your browser: http://127.0.0.1:8123/play
Command-line usage
# Insert a bunch of FtM entities into a store:
cat ftm-entities.ijson | ftmcs write -d my_dataset
# Re-create the entities in aggregated form:
ftmcs iterate -d my_dataset | alephclient write-entities -f my_dataset
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ftm_columnstore-0.2.0.tar.gz
(20.7 kB
view hashes)
Built Distribution
Close
Hashes for ftm_columnstore-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3cf5fb3fd2542f4133f1d449318895ccca5e33390bbf00f9bfa59ba480f2b9 |
|
MD5 | fca64e7c34508f581f7a42d4349f1a6d |
|
BLAKE2b-256 | e5eb04201b093c122ba3f4ac16ead4b122d6973c996c282a1379b7aa5b7bd773 |