home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1248597643

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/485#issuecomment-1248597643 https://api.github.com/repos/simonw/sqlite-utils/issues/485 1248597643 IC_kwDOCGYnMM5KbBaL 9599 2022-09-15T20:39:39Z 2022-09-15T20:39:52Z OWNER

A note from PR #486: https://github.com/simonw/sqlite-utils/issues/486#issuecomment-1248591268_

sqlite-utils insert /tmp/t3.db t /tmp/big.json [####################################] 100% This is actually not doing the right thing. The problem is that sqlite-utils doesn't include a streaming JSON parser, so it instead reads that entire JSON file into memory first (exhausting the progress bar to 100% instantly) and then does the rest of the work in-memory while the bar sticks at 100%.

I decided to land this anyway. If a streaming JSON parser is added later it will start to work.

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