aboutsummaryrefslogtreecommitdiff
path: root/postgres-examples
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-09-10 11:04:42 -0700
committerGitHub <noreply@github.com>2025-09-10 11:04:42 -0700
commit58e0c1b3301f5c5c0723f71726b6f1053e9152f9 (patch)
tree2ee40273cb74587227052f908a0eb38c14c2cb56 /postgres-examples
parent8ed1b104cea39856a51b67d31c6782031c89f642 (diff)
downloadseaweedfs-58e0c1b3301f5c5c0723f71726b6f1053e9152f9.tar.xz
seaweedfs-58e0c1b3301f5c5c0723f71726b6f1053e9152f9.zip
Fix sql bugs (#7219)
* fix nil when explaining * add plain details when running full scan * skip files by timestamp * skip file by timestamp * refactor * handle filter by time * skip broker memory only if it has unflushed messages * refactoring * refactor * address comments * address comments * filter by parquet stats * simplify * refactor * prune old code * optimize * Update aggregations.go * ensure non-time predicates are properly detected * add stmt to populatePlanFileDetails This helper function is a great way to centralize logic for populating file details. However, it's missing an optimization that is present in executeSelectStatementWithBrokerStats: pruning Parquet files based on column statistics from the WHERE clause. Aggregation queries that fall back to the slow path could benefit from this optimization. Consider modifying the function signature to accept the *SelectStatement and adding the column statistics pruning logic here, similar to how it's done in executeSelectStatementWithBrokerStats. * refactoring to work with *schema_pb.Value directly after the initial conversion
Diffstat (limited to 'postgres-examples')
0 files changed, 0 insertions, 0 deletions