Skip to content

fix: return exact row counts from inspect#2700

Open
cloudyun888 wants to merge 1 commit intosimonw:mainfrom
cloudyun888:fix/inspect-exact-row-count-2485
Open

fix: return exact row counts from inspect#2700
cloudyun888 wants to merge 1 commit intosimonw:mainfrom
cloudyun888:fix/inspect-exact-row-count-2485

Conversation

@cloudyun888
Copy link
Copy Markdown

@cloudyun888 cloudyun888 commented Apr 22, 2026

Summary

  • make datasette inspect bypass the 10,001-row display count limit when collecting table counts
  • add a regression test covering a table with 10,002 rows

Testing

  • PYTHONPATH=. pytest tests/test_cli.py -k inspect_cli -q
  • PYTHONPATH=. python -m py_compile datasette/cli.py tests/test_cli.py
  • manual reproduction with a temporary SQLite database confirms datasette inspect now returns 10002 instead of 10001

Fixes #2485


📚 Documentation preview 📚: https://datasette--2700.org.readthedocs.build/en/2700/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The 10,001 rows bug (across multiple plugins)

1 participant