home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 637227979 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

  • keewis 1

issue 1

  • readthedocs build / documentation build time · 1 ✖

author_association 1

  • MEMBER 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
642953710 https://github.com/pydata/xarray/issues/4147#issuecomment-642953710 https://api.github.com/repos/pydata/xarray/issues/4147 MDEyOklzc3VlQ29tbWVudDY0Mjk1MzcxMA== keewis 14808389 2020-06-11T22:02:38Z 2020-06-11T22:02:38Z MEMBER

It seems that's because adding (potentially big) Dataset / DataArray objects using https://github.com/pydata/xarray/blob/4071125feedee690364272e8fde9b94866f85bc7/xarray/core/parallel.py#L39-L40 is really slow and the stacktrace from sending KeyboardInterrupt says that _iter is called (if I understand it correctly, that is iterating over all values of the DataArray / Dataset using a python loop).

Looking at the code of map_blocks, the object arrays (npargs ) is only used because of its indexing and we might be able to use a list / tuple and itertools to get the same result, but without iterating over values. Am I missing something? cc @dcherian

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  readthedocs build / documentation build time 637227979

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