You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the default configuration is used for parquet writer to generate the sst, and dictionary encoding is used for bytes column (including string column) by default. Only the dictionary page exceeds 1MB, the parquet writer will fall back to plain encoding without the dictionary.
However, it maybe not very efficient for the column of high cardinality to be encoded by dictionary.
Proposal
Maybe we should choose to control whether to choose dictionary encoding according to the column's cardinality. However, the threshold of cardinality to enable dictionary encoding should be benchmarked and tested.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe This Problem
Currently, the default configuration is used for parquet writer to generate the sst, and dictionary encoding is used for bytes column (including string column) by default. Only the dictionary page exceeds 1MB, the parquet writer will fall back to plain encoding without the dictionary.
However, it maybe not very efficient for the column of high cardinality to be encoded by dictionary.
Proposal
Maybe we should choose to control whether to choose dictionary encoding according to the column's cardinality. However, the threshold of cardinality to enable dictionary encoding should be benchmarked and tested.
Additional Context
No response
The text was updated successfully, but these errors were encountered: