home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 510386062 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

  • spencerkclark 2

issue 1

  • another cftime failure · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
545039228 https://github.com/pydata/xarray/issues/3427#issuecomment-545039228 https://api.github.com/repos/pydata/xarray/issues/3427 MDEyOklzc3VlQ29tbWVudDU0NTAzOTIyOA== spencerkclark 6628425 2019-10-22T16:14:09Z 2019-10-22T16:14:09Z MEMBER

@jswhit has tracked down the source of the problem, added a fix in Unidata/cftime#127, and kindly agreed to cut a new release. I can confirm that with this, and @andersy005's fix in #3430, the xarray test suite passes.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  another cftime failure 510386062
544967109 https://github.com/pydata/xarray/issues/3427#issuecomment-544967109 https://api.github.com/repos/pydata/xarray/issues/3427 MDEyOklzc3VlQ29tbWVudDU0NDk2NzEwOQ== spencerkclark 6628425 2019-10-22T13:40:10Z 2019-10-22T13:40:10Z MEMBER

Hmm...this feels like it may be a cftime bug. In version 1.0.3.4 the following succeeds without an error: ``` In [1]: import cftime

In [2]: d = cftime.DatetimeProlepticGregorian(1, 1, 1)

In [3]: cftime.date2num(d, 'days since 0001-01-01', 'proleptic_gregorian') Out[3]: 0.0 However, with 1.0.4, the following occurs: In [3]: cftime.date2num(d, 'days since 0001-01-01', 'proleptic_gregorian')


AttributeError Traceback (most recent call last) <ipython-input-3-5b0bfcafe058> in <module> ----> 1 cftime.date2num(d, 'days since 0001-01-01', 'proleptic_gregorian')

cftime/_cftime.pyx in cftime._cftime.date2num()

AttributeError: 'cftime._cftime.DatetimeProlepticGregorian' object has no attribute 'tzinfo' ``` I filed an issue upstream: https://github.com/Unidata/cftime/issues/126.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  another cftime failure 510386062

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