home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 639542974 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • simonw 2
  • hpk42 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • Fall back to FTS4 if FTS5 is not available · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
645599881 https://github.com/dogsheep/twitter-to-sqlite/issues/47#issuecomment-645599881 https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/47 MDEyOklzc3VlQ29tbWVudDY0NTU5OTg4MQ== simonw 9599 2020-06-17T20:13:48Z 2020-06-17T20:13:48Z MEMBER

I've now figured out how to compile specific SQLite versions to help replicate this problem: https://github.com/simonw/til/blob/master/sqlite/ld-preload.md

Next step: replicate the problem!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fall back to FTS4 if FTS5 is not available 639542974  
645515103 https://github.com/dogsheep/twitter-to-sqlite/issues/47#issuecomment-645515103 https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/47 MDEyOklzc3VlQ29tbWVudDY0NTUxNTEwMw== hpk42 73579 2020-06-17T17:30:01Z 2020-06-17T17:30:01Z NONE

It's the one with python3.7::

>>> sqlite3.sqlite_version
'3.11.0'

On Wed, Jun 17, 2020 at 10:24 -0700, Simon Willison wrote:

That means your version of SQLite is old enough that it doesn't support the FTS5 extension.

Could you share what operating system you're running, and what the output is that you get from running this?

python -c 'import sqlite3; print(sqlite3.connect(":memory:").execute("select sqlite_version()").fetchone()[0])'

I can teach this tool to fall back on FTS4 if FTS5 isn't available.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/dogsheep/twitter-to-sqlite/issues/47#issuecomment-645512127

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fall back to FTS4 if FTS5 is not available 639542974  
645512127 https://github.com/dogsheep/twitter-to-sqlite/issues/47#issuecomment-645512127 https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/47 MDEyOklzc3VlQ29tbWVudDY0NTUxMjEyNw== simonw 9599 2020-06-17T17:24:22Z 2020-06-17T17:24:22Z MEMBER

That means your version of SQLite is old enough that it doesn't support the FTS5 extension.

Could you share what operating system you're running, and what the output is that you get from running this?

python -c 'import sqlite3; print(sqlite3.connect(":memory:").execute("select sqlite_version()").fetchone()[0])'

I can teach this tool to fall back on FTS4 if FTS5 isn't available.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fall back to FTS4 if FTS5 is not available 639542974  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 57.18ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows