1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2025-09-15 15:52:47 +02:00
seaweedfs/weed
Chris Lu 58e0c1b330
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
2025-09-10 11:04:42 -07:00
..
admin Admin UI: Fetch task logs (#7114) 2025-08-09 21:47:29 -07:00
cluster add CORS tests (#7001) 2025-07-19 23:56:17 -07:00
command Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
credential Filer Store: postgres backend support pgbouncer (#7077) 2025-08-03 11:56:04 -07:00
filer S3 API: Advanced IAM System (#7160) 2025-08-30 11:15:48 -07:00
filer_client Admin UI: Add message queue to admin UI (#6958) 2025-07-11 10:19:27 -07:00
glog convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
iam Delete test_utils_test.go 2025-08-31 23:31:28 -07:00
iamapi convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
images Migrates from disintegration/imaging c2019 to cognusion/imaging c2024. (#5533) 2024-04-24 23:16:04 -07:00
kms S3 API: Add integration with KMS providers (#7152) 2025-08-22 22:10:30 -07:00
mount Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
mq Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
notification fix: dead letter message log message (#7072) 2025-08-02 08:21:57 -07:00
operation S3 API: Add SSE-S3 (#7151) 2025-08-22 01:15:42 -07:00
pb Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
query Fix sql bugs (#7219) 2025-09-10 11:04:42 -07:00
remote_storage fix for baidu cloud storage 2025-08-06 20:53:05 -07:00
replication convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
s3api S3 API: Advanced IAM System (#7160) 2025-08-30 11:15:48 -07:00
security remove spoof-able request header (#7103) 2025-08-06 10:08:30 -07:00
sequence remove unused function 2024-06-25 09:18:11 -07:00
server Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
sftpd S3 API: Advanced IAM System (#7160) 2025-08-30 11:15:48 -07:00
shell Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
static Fix Broken Links (#5287) 2024-02-14 08:26:38 -08:00
stats [volume] refactor and add metrics for flight upload and download data limit condition (#6920) 2025-07-02 18:03:49 -07:00
storage revert changes collectStatForOneVolume (#7199) 2025-09-05 06:37:05 -07:00
telemetry convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
topology S3 API: Advanced IAM System (#7160) 2025-08-30 11:15:48 -07:00
util Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
wdclient convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
worker S3 API: Advanced IAM System (#7160) 2025-08-30 11:15:48 -07:00
Makefile test versioning also (#7000) 2025-07-19 21:43:34 -07:00
weed.go set exit status 2025-03-17 23:13:27 -07:00