Closed Li0k closed 2 years ago
Type Timestampz
is encoded as i64 which is different from Timestamp
, so we need to fix it.
SSTBuilder will hold the SliceTransform and add key to bloom_filter, we need to compare prefix to avoid adding the same key repeatedly. Duplicate keys may inflate bloom filter size
As default we use FullKeySliceTransform to ensure the same behavior as before. (for normal compaction)
using the exisiting table_id from compaction_group to filter the slice_transform. but In some cases existing_tableids does not exist (shared buffer compaction/ all table_id in sst has ben deleted). Some thoughts on this
[x] feat(utils): Support get prefix_len from pk by Table Schema
[x] #3874
~[ ] feat(frontend): Frontend infer the read_pattern_prefix_column and store it in TableCatalog~
[x] #3927
[x] #4027
[x] feat(hummock): Build sst_table with SliceTransform
[x] feat(storage): use dist_key as read_pattern_column for bloom_filter