home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "COLLABORATOR", issue = 1575938277 and user = 43316012 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

  • headtr1ck · 3 ✖

issue 1

  • Dataset.where performances regression. · 3 ✖

author_association 1

  • COLLABORATOR · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1447037080 https://github.com/pydata/xarray/issues/7516#issuecomment-1447037080 https://api.github.com/repos/pydata/xarray/issues/7516 IC_kwDOAMm_X85WQAiY headtr1ck 43316012 2023-02-27T20:27:52Z 2023-02-27T20:27:52Z COLLABORATOR

I am a bit puzzled here... The dask graph looks identical, so it must be the way the indexers are constructed.

The major difference I can find is: The old version used np.unique while the new version uses xarrays cond.any(..)

Maybe someone with more experience in dask can help out?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dataset.where performances regression. 1575938277
1445469752 https://github.com/pydata/xarray/issues/7516#issuecomment-1445469752 https://api.github.com/repos/pydata/xarray/issues/7516 IC_kwDOAMm_X85WKB44 headtr1ck 43316012 2023-02-26T21:16:35Z 2023-02-26T21:16:35Z COLLABORATOR

Git bisect pinpoints this to https://github.com/pydata/xarray/pull/6690 which funny enough, is my PR haha. I will look into it when I find time :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dataset.where performances regression. 1575938277
1445467918 https://github.com/pydata/xarray/issues/7516#issuecomment-1445467918 https://api.github.com/repos/pydata/xarray/issues/7516 IC_kwDOAMm_X85WKBcO headtr1ck 43316012 2023-02-26T21:07:56Z 2023-02-26T21:07:56Z COLLABORATOR

Can confirm, on my machine it went from 520ms to 5s

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dataset.where performances regression. 1575938277

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 24.015ms · About: xarray-datasette