home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 864348954

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/282#issuecomment-864348954 https://api.github.com/repos/simonw/sqlite-utils/issues/282 864348954 MDEyOklzc3VlQ29tbWVudDg2NDM0ODk1NA== 9599 2021-06-19T03:34:42Z 2021-06-19T03:35:46Z OWNER

I built some prototype code here for something which looks at every row in a CSV import and records the likely types: https://gist.github.com/simonw/465f9356f175d1cf86957947dff501d4

This could be used by the command-line tools to figure out what table.transform(types=...) method to use at the end.

This is a different approach to the pure SQL version I tried building in https://github.com/simonw/sqlite-utils/issues/179 - I think this is a better approach though, it's less prone to weird idiosyncrasies of SQLite types, and it's also easy for us to add on to the existing CSV import code in a way that won't require scanning the data twice.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
925305186  
Powered by Datasette · Queries took 0.827ms · About: github-to-sqlite