Table filter and sort: known gaps and follow-ups

Open
#350 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@DokaDev is already working on this.

Since Nov 12, 2026.

Assessment

This issue has not been assessed yet.

Description

bug
Problem

Table filtering and sorting (#297) shipped with a list of known gaps and small issues found in review and testing. None of them changes the data or the text that runs, but each one is either a rough edge or a limit users can hit. They are tracked here so none is left as a note.

Proposal

Fix, or decide and document, each item:

Filter terms and the dialog

  • A MySQL INTERVAL expr unit inside a WHERE keeps the whole WHERE as one expression chip; teach the term splitter about it
  • Approximate value lists order numeric ties as text (5.25 after 42.00)
  • The loaded-rows value count is recomputed per draw; key it on the result set
  • Count exactly has no second sort key at the 200-value cut, so tied values at the cut can differ between runs
  • Count exactly on a case or accent-insensitive column merges spellings without saying so
  • A click on the column search field does nothing; remove leftover unused code paths in the dialog
  • MariaDB: the FLOAT equality refusal names "MySQL"

Grid keys, menus and hidden columns

  • Enter on a change in a hidden column (Changes tab) shows that column again
  • Pasting rows by column name can write a column hidden in this tab; ask first or say so
  • s on a column that is a later descending key clears the whole order; decide whether it should make it the only key
  • Right-click on a cell keeps the cell menu (its F entry opens the column menu); decide whether the cell menu should carry the column entries

Engines and values

  • MySQL and MariaDB: a TIMESTAMP picked in the repeated daylight-saving hour may match the other instant of that hour
  • MySQL and MariaDB: "contains" uses LOWER(...) LIKE LOWER(...) until the table structure has been read, even on a case-insensitive column (correct, but slower)
  • MySQL: no way to choose where NULLs sort
  • MariaDB: invisible and system-versioned columns may not be detected
  • PostgreSQL 11 and older: "contains" stays unavailable
  • PostgreSQL money values are written as locale text
  • PostgreSQL: a bare name in the order field picks an exact-case column before the folded one
  • TIMESTAMP paging does not notice a change of the server's zone data between pages

Counts and estimates

  • PostgreSQL: the probe that checks whether a session is inside a transaction still runs at the default isolation level (only after a failure or when the state is unknown)
  • No planner estimate for enum, domain or composite columns, or for materialised views
  • PostgreSQL 12 and 13: apply the range subtype check to plain counts and re-runs too
  • The grid's count exactly shows a pending next-transaction setting as a failure instead of a refusal
  • count_timeout has no :set command or settings row
  • At 80x24 on MySQL the table title drops the planner estimate (check whether the border status already covers it)

Runs and waits

  • A restored ordered tab waits for the key read with no time limit if the metadata session never answers
  • A read held while its session opens shows no busy mark
  • A non-table run on a session that fails while connecting stays "running" until Ctrl+C
  • After a refused run the filter input is not focused again (check whether the dialog made this obsolete)

Documentation only

  • Filter text typed by the user resolves casts and operators on the session's search path
  • Set-returning functions that only use CPU are not stopped, and plain page reads rely on the session's time limit
  • Stopping a capped MySQL result may read rows the server already sent
  • A user function used by an index created in the few milliseconds between the planner check and the EXPLAIN is not seen (no lock-free fix)
Dominant language
Rust
Stars
166
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
291

Getting set up

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.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.