OpenMLDB
OpenMLDB copied to clipboard
`LongWindowOptimized` pass should select the best pre-aggr table if there are multiple
Bug Description
Currently the LongWindowOptimized
pass just select the first one pre-aggr table and use it.
Expected Behavior Two possible solutions:
- only create one pre-aggr table if all the meta is same expect the bucket size
- select the best pre-aggr if there are multiple pre-aggr tables exists for the same meta