You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/11/27 15:04:56 UTC

[GitHub] weiqiLee opened a new issue #6446: Out of bounds nanosecond timestamp

weiqiLee opened a new issue #6446: Out of bounds nanosecond timestamp
URL: https://github.com/apache/incubator-superset/issues/6446
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [yes ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   
   ### Superset version
   0.23.2
   
   ### Expected results
   
   
   ### Actual results
   
   2018-11-27 04:54:20,096:ERROR:root:Out of bounds nanosecond timestamp: 2289-01-01 00:00:00
   Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/pandas/core/tools/datetimes.py", line 303, in _convert_listlike
       values, tz = tslib.datetime_to_datetime64(arg)
     File "pandas/_libs/tslib.pyx", line 1884, in pandas._libs.tslib.datetime_to_datetime64
   TypeError: Unrecognized value type: <class 'str'>
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 325, in get_df_payload
       df = self.get_df(query_obj)
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 162, in get_df
       df[DTTM_ALIAS], utc=False, format=timestamp_format)
     File "/usr/local/lib/python3.5/dist-packages/pandas/core/tools/datetimes.py", line 373, in to_datetime
       values = _convert_listlike(arg._values, True, format)
     File "/usr/local/lib/python3.5/dist-packages/pandas/core/tools/datetimes.py", line 306, in _convert_listlike
       raise e
     File "/usr/local/lib/python3.5/dist-packages/pandas/core/tools/datetimes.py", line 294, in _convert_listlike
       require_iso8601=require_iso8601
     File "pandas/_libs/tslib.pyx", line 2156, in pandas._libs.tslib.array_to_datetime
     File "pandas/_libs/tslib.pyx", line 2339, in pandas._libs.tslib.array_to_datetime
     File "pandas/_libs/tslib.pyx", line 2307, in pandas._libs.tslib.array_to_datetime
     File "pandas/_libs/tslib.pyx", line 2301, in pandas._libs.tslib.array_to_datetime
     File "pandas/_libs/tslib.pyx", line 1669, in pandas._libs.tslib.convert_datetime_to_tsobject
     File "pandas/_libs/tslib.pyx", line 1848, in pandas._libs.tslib._check_dts_bounds
   pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2289-01-01 00:00:00
   2018-11-27 04:54:20,098:ERROR:root:'NoneType' object has no attribute 'fillna'
   Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/superset/views/core.py", line 1059, in generate_json
       payload = viz_obj.get_payload()
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 293, in get_payload
       payload['data'] = self.get_data(df)
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 1139, in get_data
       df = self.process_data(df)
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 1044, in process_data
       df = df.fillna(0)
   AttributeError: 'NoneType' object has no attribute 'fillna'
   ### Steps to reproduce
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org