Make filters and ordering follow PostgreSQL comparison semantics
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 129
- Forks
- 7
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitPosiblemente ocupada @SahilKhan101 la tomó hace 2 días. Abiertoenhancement
juspay/streamgres#64 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Posiblemente ocupada @sprihaanand-juspay la tomó hace 3 días. Abierto
juspay/streamgres#58 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 Más de una semana Aptitud para principiantes 38/100
juspay/streamgres#56 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
juspay/streamgres#55 ·
Los mantenedores suelen responder en 1 día
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendPosiblemente ocupada @sprihaanand-juspay la tomó hace 6 días. Abierto
juspay/streamgres#53 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de juspay/streamgres
Issues similares
-
Test connection's password prompt says the password is never saved, also for a keychain profileAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area: settings bug Haiku review: no-score ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MMFoundation/WallpaperMachine#346 ·
Los mantenedores suelen responder en 1 día
-
Make the HTTP server's keep-alive and headers timeouts configurablePosiblemente ocupada @mattgodbolt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
compiler-explorer/compiler-explorer#9902 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día