Make filters and ordering follow PostgreSQL comparison semantics
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 129
- Forks
- 7
- Merge médio
- 1d 19h
- PRs com merge (30d)
- 5
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitTalvez já em andamento @SahilKhan101 assumiu há 2 dias. Abertaenhancement
juspay/streamgres#64 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Talvez já em andamento @sprihaanand-juspay assumiu há 3 dias. Aberta
juspay/streamgres#58 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 Mais de uma semana Facilidade para iniciantes 38/100
juspay/streamgres#56 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
juspay/streamgres#55 ·
Mantenedores costumam responder em até 1 dia
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendTalvez já em andamento @sprihaanand-juspay assumiu há 6 dias. Aberta
juspay/streamgres#53 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de juspay/streamgres
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Test connection's password prompt says the password is never saved, also for a keychain profileAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
area: settings bug Haiku review: no-score ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MMFoundation/WallpaperMachine#346 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Qiskit/qiskit#17699 · 2 comentários ·
Mantenedores costumam responder em até 1 dia