[
https://issues.apache.org/jira/browse/SDAP-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624405#comment-16624405
]
ASF GitHub Bot commented on SDAP-152:
-------------------------------------
fgreg opened a new pull request #40: Revert "SDAP-152 Error in nexus client
(#39)"
URL: https://github.com/apache/incubator-sdap-nexus/pull/40
This reverts commit a888889f825c363aba8df43f0a94b3eec9a7dd22.
----------------------------------------------------------------
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:
[email protected]
> Error in nexus client
> ---------------------
>
> Key: SDAP-152
> URL: https://issues.apache.org/jira/browse/SDAP-152
> Project: Apache Science Data Analytics Platform
> Issue Type: New Feature
> Components: nexus
> Reporter: Frank Greguska
> Assignee: Frank Greguska
> Priority: Critical
>
> When trying to execute time series we get an error:
>
> Error
> Traceback (most recent call last):
> File
> "/Users/greguska/anaconda/envs/nexuscli/lib/python3.6/unittest/case.py", line
> 59, in testPartExecutor
> yield
> File
> "/Users/greguska/anaconda/envs/nexuscli/lib/python3.6/unittest/case.py", line
> 605, in run
> testMethod()
> File
> "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/test/nexuscli_test.py",
> line 32, in test_time_series
> datetime(2005, 1, 1), datetime(2005, 1, 1), spark=True)
> File
> "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/nexuscli.py",
> line 214, in time_series
> time_series_data[:, key_to_index['time']]]),
> File
> "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/nexuscli.py",
> line 213, in <listcomp>
> time=np.array([datetime.utcfromtimestamp(t).replace(tzinfo=UTC) for t in
> TypeError: an integer is required (got type numpy.str_)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)