home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 407523050 and user = 6164157 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • yohai · 2 ✖

issue 1

  • Fix name loss when masking · 2 ✖

author_association 1

  • CONTRIBUTOR 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
462342581 https://github.com/pydata/xarray/pull/2749#issuecomment-462342581 https://api.github.com/repos/pydata/xarray/issues/2749 MDEyOklzc3VlQ29tbWVudDQ2MjM0MjU4MQ== yohai 6164157 2019-02-11T14:17:04Z 2019-02-11T14:17:04Z CONTRIBUTOR

@shoyer your fix works. I think it's ready to merge.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix name loss when masking 407523050
461542452 https://github.com/pydata/xarray/pull/2749#issuecomment-461542452 https://api.github.com/repos/pydata/xarray/issues/2749 MDEyOklzc3VlQ29tbWVudDQ2MTU0MjQ1Mg== yohai 6164157 2019-02-07T18:27:41Z 2019-02-07T18:27:41Z CONTRIBUTOR

I agree that my solution is a bit hacky, but from a computational cost viewpoint they are identical (or almost. I don't think there's a way to avoid one if statement per call of where). I thought my solution is good because catching this at a high level captures all possible edge cases that we might miss at lower ones. But I can try to do what you suggested to.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix name loss when masking 407523050

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,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
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 12.827ms · About: xarray-datasette