Tags: infiniflow/infinity
Tags
Fix Json Index bugs (#3398) ### What problem does this PR solve? - JSON Index row_cnt_ One JSON row produces multiple index entries. row_cnt_ is not the same as index entry count. Correct it. - Planner cross-type matching json_extract_double > N was treating > as >= for integer-typed values; now preserves original compare type - JSON flattener :p: path-exists term emitted for objects and arrays (was only scalars), fixing json_exists_path for non-scalar paths - OPTIMIZE merge removed broken reader_offsets_ adjustment that corrupted segment offsets during chunk merge ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Multiple Memory Indexers Cause BM25 Calculation Error (#3340) Close #3339 ### Summary `ColumnIndexReader` may contain multiple memory indexers (one per segment). However, `FullTextColumnLengthReader::GetDocTermCount()` was only using a single `memory_indexer_` variable, causing `total_df_ < doc_freq_` crash during BM25 calculation. ### Reproduction Steps 1. Set `optimize_interval` to 3600s 2. Run `TestMultipleIndexTypesImport` with snapshot restore enabled 3. The test will crash with `total_df_ < doc_freq_` error ### Expected behavior _No response_ ### Additional information `UnrecoverableError(fmt::format("total_df_ {} is less than doc_freq_ {}", total_df_, doc_freq_));`
Fix PhysicalFilter::Execute (#3342) ### What problem does this PR solve? When table is empty, prev_op_state->data_block_array_.empty() is true in PhysicalFilter, we should return empty result instead of crash. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
Fix release (#3343) ### What problem does this PR solve? Correct docker image name. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: noob <yixiao121314@outlook.com>
Fix release (#3343) ### What problem does this PR solve? Correct docker image name. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: noob <yixiao121314@outlook.com>
PreviousNext