{"html_url": "https://github.com/simonw/sqlite-utils/pull/208#issuecomment-743956666", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/208", "id": 743956666, "node_id": "MDEyOklzc3VlQ29tbWVudDc0Mzk1NjY2Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-13T05:44:49Z", "updated_at": "2020-12-13T05:44:49Z", "author_association": "OWNER", "body": "Example output:\r\n```\r\n% sqlite-utils analyze-tables github.db tags \r\ntags.repo: (1/3)\r\n\r\n Total rows: 261\r\n Null rows: 0\r\n Blank rows: 0\r\n\r\n Distinct values: 14\r\n\r\n Most common:\r\n 88: 107914493\r\n 75: 140912432\r\n 27: 206156866\r\n 21: 207052882\r\n 17: 197431109\r\n 8: 197882382\r\n 5: 256834907\r\n 5: 205429375\r\n 4: 248903544\r\n 3: 206202864\r\n\r\n Least common:\r\n 1: 209590345\r\n 2: 206649770\r\n 2: 303218369\r\n 3: 206202864\r\n 3: 213286752\r\n 4: 248903544\r\n 5: 205429375\r\n 5: 256834907\r\n 8: 197882382\r\n 17: 197431109\r\n\r\ntags.name: (2/3)\r\n\r\n Total rows: 261\r\n Null rows: 0\r\n Blank rows: 0\r\n\r\n Distinct values: 175\r\n\r\n Most common:\r\n 10: 0.2\r\n 9: 0.1\r\n 7: 0.3\r\n 6: 0.4\r\n 5: 0.7\r\n 5: 0.5\r\n 5: 0.1a\r\n 4: 0.9\r\n 4: 0.8\r\n 4: 0.6\r\n\r\n Least common:\r\n 1: 0.1.1\r\n 1: 0.11.1\r\n 1: 0.1a2\r\n 1: 0.20.1\r\n 1: 0.21.1\r\n 1: 0.21.2\r\n 1: 0.21.3\r\n 1: 0.22\r\n 1: 0.22.1\r\n 1: 0.23\r\n\r\ntags.sha: (3/3)\r\n\r\n Total rows: 261\r\n Null rows: 0\r\n Blank rows: 0\r\n\r\n Distinct values: 261\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 763320133, "label": "sqlite-utils analyze-tables command and table.analyze_column() method"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/pull/203#issuecomment-743966289", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/203", "id": 743966289, "node_id": "MDEyOklzc3VlQ29tbWVudDc0Mzk2NjI4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-13T07:20:51Z", "updated_at": "2020-12-13T07:20:51Z", "author_association": "OWNER", "body": "Sorry for not reviewing this yet! I'll try to carve out time to look at it in the next few days.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 743384829, "label": "changes to allow for compound foreign keys"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/207#issuecomment-743966801", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/207", "id": 743966801, "node_id": "MDEyOklzc3VlQ29tbWVudDc0Mzk2NjgwMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-13T07:25:23Z", "updated_at": "2020-12-13T07:25:23Z", "author_association": "OWNER", "body": "CLI documentation: https://sqlite-utils.readthedocs.io/en/latest/cli.html#analyzing-tables\r\n\r\nPython library documentation: https://sqlite-utils.readthedocs.io/en/latest/python-api.html#analyzing-a-column", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 763283616, "label": "sqlite-utils analyze-tables command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1142#issuecomment-743998792", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1142", "id": 743998792, "node_id": "MDEyOklzc3VlQ29tbWVudDc0Mzk5ODc5Mg==", "user": {"value": 6622733, "label": "nitinpaultifr"}, "created_at": "2020-12-13T12:14:06Z", "updated_at": "2020-12-13T12:14:06Z", "author_association": "NONE", "body": "Agreed, it would definitely provide better controls. However, I do feel it makes for a bit of inconsistent UX for the 'Advanced export' section, with links to download for JSON, checkboxes and radio buttons + button to download for CSV. Do you think this example makes the UX a bit nicer/consistent?\r\n\r\n![Screenshot 2020-12-13 at 5 38 43 PM](https://user-images.githubusercontent.com/6622733/102011444-1dc1cd00-3d6a-11eb-9e38-5af198161e80.png)\r\n\r\nI could give it a try if you'd like but I've never contributed to an actual project!\r\n", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 763361458, "label": "\"Stream all rows\" is not at all obvious"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1031#issuecomment-744003454", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1031", "id": 744003454, "node_id": "MDEyOklzc3VlQ29tbWVudDc0NDAwMzQ1NA==", "user": {"value": 299380, "label": "frankier"}, "created_at": "2020-12-13T12:52:56Z", "updated_at": "2020-12-13T12:52:56Z", "author_association": "NONE", "body": "Please let me know if there's anything I can do to help get this merged.\r\n\r\nThis is causing problems for me because it means when I build my Docker image my databases aren't considered immutable, which I would like them to be so that a download link is produced.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 724369025, "label": "Fallback to databases in inspect-data.json when no -i options are passed"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/983#issuecomment-744066249", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/983", "id": 744066249, "node_id": "MDEyOklzc3VlQ29tbWVudDc0NDA2NjI0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-13T20:47:52Z", "updated_at": "2020-12-13T20:47:52Z", "author_association": "OWNER", "body": "@yozlet just spotted this comment. Wow that is interesting!\r\n\r\nWith the right plugin hooks on the page (see also #987) one relatively simple way to do that could be with bookmarklets - users could install bookmarklets which, when executed against a Datasette page in their browser, use the existing JavaScript plugin integration points to add all kinds of functionality.\r\n\r\nDoing full sandboxing is certainly daunting, but it looks like Figma figured it out so TIL it's technically feasible.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 712260429, "label": "JavaScript plugin hooks mechanism similar to pluggy"}, "performed_via_github_app": null}