home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 1171932478 and user = 2443309 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

  • jhamman · 1 ✖

issue 1

  • Zarr backend should avoid checking for invalid encodings · 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
1071053923 https://github.com/pydata/xarray/issues/6373#issuecomment-1071053923 https://api.github.com/repos/pydata/xarray/issues/6373 IC_kwDOAMm_X84_1vxj jhamman 2443309 2022-03-17T16:30:25Z 2022-03-17T16:30:25Z MEMBER

It would be nice to avoid this process but I think we need to keep it. Without extract_zarr_variable_encoding and checks against a valid set of options, we have no way to filter out encoding keys that do not apply to the backend. By way of an example:

python In [1]: import xarray as xr In [2]: ds = xr.tutorial.open_dataset('rasm').chunk('100mb') In [3]: ds.Tair.encoding Out[3]: {'source': '/Users/jhamman/Library/Caches/xarray_tutorial_data/eee06791cc19e59f074155a82a7ffe90-rasm.nc', 'original_shape': (36, 205, 275), 'dtype': dtype('float64'), '_FillValue': 9.969209968386869e+36, 'coordinates': 'yc xc'}

Passing most of these to zarr.create would result in a UserWarning. We could inpspect zarr.create to pull the list of valid arguments but I think it is probably cleaner to just list the expected arguments as we do.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Zarr backend should avoid checking for invalid encodings 1171932478

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