home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 1517330438 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

  • shaunc 2
  • keewis 2

author_association 2

  • MEMBER 2
  • NONE 2

issue 1

  • Question: Feature request: test isolation and storage engine cache · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1369974685 https://github.com/pydata/xarray/issues/7408#issuecomment-1369974685 https://api.github.com/repos/pydata/xarray/issues/7408 IC_kwDOAMm_X85RqCed keewis 14808389 2023-01-03T16:31:17Z 2023-01-03T19:24:15Z MEMBER

ah, well, then I don't know. Could you post the error (Edit: with traceback)? That might help figuring out what exactly is happening (and where the error is from).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Question: Feature request: test isolation and storage engine cache 1517330438
1370139670 https://github.com/pydata/xarray/issues/7408#issuecomment-1370139670 https://api.github.com/repos/pydata/xarray/issues/7408 IC_kwDOAMm_X85RqqwW shaunc 193170 2023-01-03T19:21:42Z 2023-01-03T19:21:42Z NONE

will do ... as soon as we fix the other bug that doesn't let us get to that step anymore ... :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Question: Feature request: test isolation and storage engine cache 1517330438
1369880263 https://github.com/pydata/xarray/issues/7408#issuecomment-1369880263 https://api.github.com/repos/pydata/xarray/issues/7408 IC_kwDOAMm_X85RprbH shaunc 193170 2023-01-03T15:10:57Z 2023-01-03T15:10:57Z NONE

We are using s3 and moto - the file itself doesn't exist, as the (fake) bucket is torn down and recreated. The problem is that there is internal state (in zarr?) that references "the old file" even if it actually doesn't exist. We would like to throw out this state on tear-down.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Question: Feature request: test isolation and storage engine cache 1517330438
1369732703 https://github.com/pydata/xarray/issues/7408#issuecomment-1369732703 https://api.github.com/repos/pydata/xarray/issues/7408 IC_kwDOAMm_X85RpHZf keewis 14808389 2023-01-03T12:51:34Z 2023-01-03T12:51:34Z MEMBER

see the mode parameter of to_zarr

The default mode is “a” if append_dim is set. Otherwise, it is “r+” if region is set and w- otherwise.

If you pass mode="w", you should be able to write to disk even if the zarr file already exists.

However, since the common path means that tests are never truly isolated, I wonder if it would be better to create one temporary directory per test (using pytest's tmp_path fixture, for example) and write the dataset there?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Question: Feature request: test isolation and storage engine cache 1517330438

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