Make filters and ordering follow PostgreSQL comparison semantics
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 129
- Forks
- 7
- Merge moyen
- 1 j 19 h
- PR mergées (30 j)
- 5
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitPeut-être pris @SahilKhan101 l’a pris il y a 2 jours. Ouverteenhancement
juspay/streamgres#64 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Peut-être pris @sprihaanand-juspay l’a pris il y a 3 jours. Ouverte
juspay/streamgres#58 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 Plus d'une semaine Accessibilité débutants 38/100
juspay/streamgres#56 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
juspay/streamgres#55 ·
Les mainteneurs répondent en général sous 1 jour
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendPeut-être pris @sprihaanand-juspay l’a pris il y a 6 jours. Ouverte
juspay/streamgres#53 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de juspay/streamgres
Issues similaires
-
Test connection's password prompt says the password is never saved, also for a keychain profileOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
area: settings bug Haiku review: no-score ui
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
MMFoundation/WallpaperMachine#346 ·
Les mainteneurs répondent en général sous 1 jour
-
Make the HTTP server's keep-alive and headers timeouts configurablePeut-être pris @mattgodbolt l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
compiler-explorer/compiler-explorer#9902 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour