posit-dev / posit-dev/ggsql

Preservation of row-order when using `ORDER BY` in order-sensitive layers

Open
#304 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plot building
Dominant language
Rust
Stars
554
Forks
30
Avg merge
17h 27m
Merged PRs (30d)
8

Description

This issue was detected as a side-effect of #293.

Briefly, DRAW path ORDER BY "group" doesn't work because the order of rows within each block of group isn't necessarily preserved.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #293 and tracing how DRAW path ORDER BY "group" is handled. Reproduce the ordering case described here, then inspect the relevant query-processing path. Done means row order is preserved within each group block for order-sensitive layers.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.