home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "MEMBER" and issue = 143551401 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

  • shoyer 3
  • jhamman 1

issue 1

  • Compute multiple dask backed arrays at once · 4 ✖

author_association 1

  • MEMBER · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
370992398 https://github.com/pydata/xarray/issues/804#issuecomment-370992398 https://api.github.com/repos/pydata/xarray/issues/804 MDEyOklzc3VlQ29tbWVudDM3MDk5MjM5OA== shoyer 1217238 2018-03-07T01:40:49Z 2018-03-07T01:40:49Z MEMBER

agreed, this is fixed now by dask.compute()

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Compute multiple dask backed arrays at once 143551401
370985619 https://github.com/pydata/xarray/issues/804#issuecomment-370985619 https://api.github.com/repos/pydata/xarray/issues/804 MDEyOklzc3VlQ29tbWVudDM3MDk4NTYxOQ== jhamman 2443309 2018-03-07T01:04:07Z 2018-03-07T01:04:07Z MEMBER

I believe this should have been close by #1674. Anyone object or am I missing something?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Compute multiple dask backed arrays at once 143551401
201542437 https://github.com/pydata/xarray/issues/804#issuecomment-201542437 https://api.github.com/repos/pydata/xarray/issues/804 MDEyOklzc3VlQ29tbWVudDIwMTU0MjQzNw== shoyer 1217238 2016-03-25T22:08:40Z 2016-03-25T22:08:40Z MEMBER

I would lean towards keeping compute a pure function. That seems more straightforward to implement with duck typing in dask, anyways. I guess we could go either way, though.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Compute multiple dask backed arrays at once 143551401
201510142 https://github.com/pydata/xarray/issues/804#issuecomment-201510142 https://api.github.com/repos/pydata/xarray/issues/804 MDEyOklzc3VlQ29tbWVudDIwMTUxMDE0Mg== shoyer 1217238 2016-03-25T21:18:59Z 2016-03-25T21:18:59Z MEMBER

It would be nice to be able to use dask.compute() for this, by defining a duck type system for dask objects such that xarray objects can participate. (xref https://github.com/dask/dask/issues/700)

I'm not sure what a good api is here, as xarray objects mutate when computed.

Yeah, this is somewhat unfortunate, but convenient (though somewhat obsolete with dask's cachey). Perhaps adding a dedicated .compute() method that does not mutate would be a good idea.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Compute multiple dask backed arrays at once 143551401

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