issue_comments
9 rows where author_association = "OWNER", issue = 707427200 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
issue 1
- Improve performance of extract operations · 9 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
698178101 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-698178101 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5ODE3ODEwMQ== | simonw 9599 | 2020-09-24T07:48:57Z | 2020-09-24T07:49:20Z | OWNER |
Thu Sep 24 00:48:20 PDT 2020 Thu Sep 24 00:48:24 PDT 2020 Thu Sep 24 00:48:28 PDT 2020 Thu Sep 24 00:48:32 PDT 2020 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697869886 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697869886 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5Nzg2OTg4Ng== | simonw 9599 | 2020-09-23T18:45:30Z | 2020-09-23T18:45:30Z | OWNER | There's something to be said for making this operation pausable and resumable, especially if I'm going to make it available in a Datasette plugin at some point. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697866885 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697866885 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5Nzg2Njg4NQ== | simonw 9599 | 2020-09-23T18:43:37Z | 2020-09-23T18:43:37Z | OWNER | Also what would happen if the table had new rows added to it while that command was running? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697863116 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697863116 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5Nzg2MzExNg== | simonw 9599 | 2020-09-23T18:41:06Z | 2020-09-23T18:41:06Z | OWNER | Problem with this approach is it's not compatible with progress bars - but if it's a multiple of times faster it's worth it. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697859772 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697859772 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5Nzg1OTc3Mg== | simonw 9599 | 2020-09-23T18:38:43Z | 2020-09-23T18:38:52Z | OWNER | I wonder if I could make this faster by separating it out into a few steps:
- Create the new lookup table with all of the distinct rows
- Add the blank foreign key column
- run a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697835956 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697835956 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5NzgzNTk1Ng== | simonw 9599 | 2020-09-23T18:22:49Z | 2020-09-23T18:22:49Z | OWNER | I ran %Own %Total OwnTime TotalTime Function (filename:line) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697473247 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697473247 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5NzQ3MzI0Nw== | simonw 9599 | 2020-09-23T14:45:13Z | 2020-09-23T14:45:13Z | OWNER |
The Batching those updates may have an effect. Or finding a way to skip the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697467833 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697467833 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5NzQ2NzgzMw== | simonw 9599 | 2020-09-23T14:42:03Z | 2020-09-23T14:42:03Z | OWNER | Here's the loop that's taking the time: https://github.com/simonw/sqlite-utils/blob/1ebffe1dbeaed7311e5b61ed988f4cd701e84808/sqlite_utils/db.py#L892-L897 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 | |
697466497 | https://github.com/simonw/sqlite-utils/issues/172#issuecomment-697466497 | https://api.github.com/repos/simonw/sqlite-utils/issues/172 | MDEyOklzc3VlQ29tbWVudDY5NzQ2NjQ5Nw== | simonw 9599 | 2020-09-23T14:41:17Z | 2020-09-23T14:41:17Z | OWNER | Steps to produce that database:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Improve performance of extract operations 707427200 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [issue] INTEGER REFERENCES [issues]([id]) , [performed_via_github_app] TEXT); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1