home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1371466778 and user = 2448579 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

  • dcherian · 3 ✖

issue 1

  • .to_zarr() or .to_netcdf slow and uses excess memory when datetime64[ns] variable in output; a reproducible example · 3 ✖

author_association 1

  • MEMBER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1302301808 https://github.com/pydata/xarray/issues/7028#issuecomment-1302301808 https://api.github.com/repos/pydata/xarray/issues/7028 IC_kwDOAMm_X85Nn4xw dcherian 2448579 2022-11-03T15:40:52Z 2022-11-03T15:40:52Z MEMBER

Ah now I see #7132 . Let's close this since the example there is a lot smaller.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .to_zarr() or .to_netcdf slow and uses excess memory when datetime64[ns] variable in output; a reproducible example 1371466778
1302298612 https://github.com/pydata/xarray/issues/7028#issuecomment-1302298612 https://api.github.com/repos/pydata/xarray/issues/7028 IC_kwDOAMm_X85Nn3_0 dcherian 2448579 2022-11-03T15:38:25Z 2022-11-03T15:40:29Z MEMBER

Sorry for the slow response here Jamie.

I suspect (but have not checked) that is a dupe of https://github.com/pydata/xarray/issues/3834 and https://github.com/pydata/xarray/issues/7132

To decide how to encode the datetime, it's loading the whole array.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .to_zarr() or .to_netcdf slow and uses excess memory when datetime64[ns] variable in output; a reproducible example 1371466778
1302299859 https://github.com/pydata/xarray/issues/7028#issuecomment-1302299859 https://api.github.com/repos/pydata/xarray/issues/7028 IC_kwDOAMm_X85Nn4TT dcherian 2448579 2022-11-03T15:39:24Z 2022-11-03T15:39:24Z MEMBER

The way to test would be:

``` from xarray.tests import raise_if_dask_computes

with raise_if_dask_computes(): ds.to_netcdf(compute=False) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .to_zarr() or .to_netcdf slow and uses excess memory when datetime64[ns] variable in output; a reproducible example 1371466778

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