Make filters and ordering follow PostgreSQL comparison semantics
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by locating the engine’s filter comparison and ORDER BY code, then read how it represents PostgreSQL types, collations, enums, and NULL values. Add cases that compare engine results with PostgreSQL for each listed behavior, including NaN, empty NOT IN, and LIMIT ordering. Done means all acceptance criteria pass; the issue does not name specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Some filters and ordering operations do not match PostgreSQL:
- Types not modeled by the engine (including
interval,inet,cidr,macaddr,timetz, and ranges) are compared as text. citext,char(n), and text using nondeterministic collations are compared byte by byte.- Text range filters and
ORDER BYuse byte order even when the column’s collation sorts differently (for example,en_US). - Enum range filters and
ORDER BYsort labels as text instead of following enum declaration order. - Float
NaNnever matches a range condition. x NOT IN ()omits rows wherexisNULL, though PostgreSQL returns every row for an empty list.- With
ORDER BY … LIMIT, rows withNULLsort values can be excluded from the limited window even when PostgreSQL would include them.
Expected behavior
Filters and ordering should produce results consistent with PostgreSQL for these types, collations, NULL values, and edge cases.
Acceptance criteria
- Comparisons for the listed types match PostgreSQL semantics, or unsupported types are handled explicitly rather than silently compared as text.
- Text comparison and ordering respect the column’s collation and type.
- Enum comparisons and ordering respect declaration order.
-
NaN, emptyNOT INlists, andNULLordering withLIMITmatch PostgreSQL. - Tests compare engine results with PostgreSQL results for the cases above.
- Ngôn ngữ chính
- Rust
- Star
- 129
- Fork
- 7
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitCó thể đã có người làm @SahilKhan101 đã nhận 2 ngày trước. Đang mởenhancement
juspay/streamgres#64 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Có thể đã có người làm @sprihaanand-juspay đã nhận 3 ngày trước. Đang mở
juspay/streamgres#58 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 38/100
juspay/streamgres#56 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
juspay/streamgres#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendCó thể đã có người làm @sprihaanand-juspay đã nhận 6 ngày trước. Đang mở
juspay/streamgres#53 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của juspay/streamgres
Issue tương tự
-
Test connection's password prompt says the password is never saved, also for a keychain profileĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: settings bug Haiku review: no-score ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MMFoundation/WallpaperMachine#346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Make the HTTP server's keep-alive and headers timeouts configurableCó thể đã có người làm @mattgodbolt đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
compiler-explorer/compiler-explorer#9902 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày