home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 320592643

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
320592643 MDU6SXNzdWUzMjA1OTI2NDM= 251 Explore "distinct values for column" in inspect() 9599 closed 0     4 2018-05-06T13:27:24Z 2018-05-14T22:47:55Z 2018-05-14T22:47:55Z OWNER  

A lot of datasets have columns which have a small number of possible values in them - this one for example: https://fivethirtyeight.datasettes.com/fivethirtyeight-2628db9?sql=select+distinct+category+from+%5Binconvenient-sequel%2Fratings%5D%3B

Detecting these could be interesting as part of .inspect(), since it would allow for various UI enhancements like autocomplete / select box filters for those columns.

The problem is detecting them efficiently. .inspect() shouldn't spend 5 minutes churning through columns on giant tables trying to determine if they have a small collection of unique values.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/251/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 1.064ms · About: github-to-sqlite