Sobes.tech
Middle

Utwórz tabelę raw.local_transactions NA KLASIESTERZE cluster_4x2 ( transaction_id String, user_id String, amount Float64, created_at DateTime ) SILNIK = ReplicatedMergeTree() PARTYCJONUJ PRZEZ amount ORDERUJ PRZEZ (transaction_id); Utwórz tabelę raw.transactions NA KLASIESTERZE cluster_4x2 ( transaction_id String, user_id String, amount Float64, created_at DateTime ) SILNIK = Distributed('cluster_4x2', 'raw', 'local_transactions', cityHash64(user_id));