ClickHouse/ClickHouse

MaterializedPostgreSQL engine type mapping for uint256

Chiusa

#59.224 aperta il 25 gen 2024

 (5 commenti) (3 reazioni) (0 assegnatari)C++ (8400 fork)batch import
experimental featurehelp wantedquestion

Metriche repository

Star
 (47.419 stelle)
Metriche merge PR
 (Merge medio 2g 2h) (1000 PR mergiate in 30 g)

Descrizione

Currently, Clickhouse has support to uint256 type. In PostgreSQL, this can achieved by creating a field with type numeric(78,0). However, when using MaterializedPostgreSQL engine, the automatic table creation fails as the maximum precision value for numeric is 76. Is it possible to change this? I understand Clickhouse can handle numbers that big.

Guida contributor