issue_comments
10 rows where issue = 695319258 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- FTS table with 7 rows has _fts_docsize table with 9,141 rows · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
688501064 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688501064 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODUwMTA2NA== | simonw 9599 | 2020-09-07T20:30:15Z | 2020-09-07T20:30:38Z | OWNER | The second challenge here is cleaning up all of those junk rows in existing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688499924 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688499924 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ5OTkyNA== | simonw 9599 | 2020-09-07T20:25:40Z | 2020-09-07T20:25:50Z | OWNER | https://www.sqlite.org/pragma.html#pragma_recursive_triggers says:
So I think the fix is to turn on |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688499650 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688499650 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ5OTY1MA== | simonw 9599 | 2020-09-07T20:24:35Z | 2020-09-07T20:24:35Z | OWNER | This replicates the problem:
The number went up by ten. I used tracing from #151 to show that the following SQL executed ten times:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688482355 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688482355 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ4MjM1NQ== | simonw 9599 | 2020-09-07T19:22:51Z | 2020-09-07T19:22:51Z | OWNER | And the SQLite documentation says:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688482055 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688482055 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ4MjA1NQ== | simonw 9599 | 2020-09-07T19:21:42Z | 2020-09-07T19:21:42Z | OWNER | Using
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688481374 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688481374 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ4MTM3NA== | simonw 9599 | 2020-09-07T19:19:08Z | 2020-09-07T19:19:08Z | OWNER | reading through the code for
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688480665 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688480665 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ4MDY2NQ== | simonw 9599 | 2020-09-07T19:16:20Z | 2020-09-07T19:16:20Z | OWNER | Aha! I have managed to replicate the bug:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688464181 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688464181 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ2NDE4MQ== | simonw 9599 | 2020-09-07T18:19:54Z | 2020-09-07T18:19:54Z | OWNER | Even though that table doesn't declare an integer primary key it does have a | rowid | key | name | spdx_id | url | node_id | | --- | --- | --- | --- | --- | --- | | 9150 | apache-2.0 | Apache License 2.0 | Apache-2.0 | https://api.github.com/licenses/apache-2.0 | MDc6TGljZW5zZTI= | | 112 | bsd-3-clause | BSD 3-Clause "New" or "Revised" License | BSD-3-Clause | https://api.github.com/licenses/bsd-3-clause | MDc6TGljZW5zZTU= | https://www.sqlite.org/rowidtable.html explains has this clue:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688460865 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688460865 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ2MDg2NQ== | simonw 9599 | 2020-09-07T18:07:14Z | 2020-09-07T18:07:14Z | OWNER | Another likely culprit: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 | |
688460729 | https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688460729 | https://api.github.com/repos/simonw/sqlite-utils/issues/149 | MDEyOklzc3VlQ29tbWVudDY4ODQ2MDcyOQ== | simonw 9599 | 2020-09-07T18:06:44Z | 2020-09-07T18:06:44Z | OWNER | First posted on SQLite forum here but I'm pretty sure this is a bug in how |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
FTS table with 7 rows has _fts_docsize table with 9,141 rows 695319258 |
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