Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapD str.to_timestamp() : No translation rule for <class 'ibis.expr.operations.StringToTimestamp'> #1638

Closed
lzhmhznr opened this issue Sep 27, 2018 · 2 comments

Comments

Projects
3 participants
@lzhmhznr
Copy link

commented Sep 27, 2018

expr = ibis.literal('20170206').to_timestamp('%Y%m%d')
client.execute(expr)

ibis.common.OperationNotDefinedError: No translation rule for <class 'ibis.expr.operations.StringToTimestamp'>

Backend=MapD_4.1.1 ibis=0.14 Python=3.6 Ubuntu=18.04 Anaconda=5.1

@xmnlab

This comment has been minimized.

Copy link
Collaborator

commented Sep 28, 2018

thanks @lzhmhznr for point us that

I am checking the issues related to MapD and we are planing to add new features to ibis-mapd also.

@cpcloud could you add a "MapD" flag to this issue?

@cpcloud cpcloud added this to the Next Release milestone Sep 28, 2018

@cpcloud cpcloud added the omnisci label Sep 28, 2018

@cpcloud cpcloud added this to To do in OmniSci Sep 28, 2018

@xmnlab xmnlab referenced this issue Oct 4, 2018

Closed

Fixing ibis-mapd issues: #23

8 of 8 tasks complete

@cpcloud cpcloud modified the milestones: 1.0.0, Next Release Mar 13, 2019

@xmnlab

This comment has been minimized.

Copy link
Collaborator

commented Apr 15, 2019

@lzhmhznr at this moment this operation is not supported by mapd database. I will change to this function to raise Unsupported Exception.

@xmnlab xmnlab moved this from To do to Needs review in OmniSci Apr 15, 2019

@xmnlab xmnlab moved this from Needs review to In progress in OmniSci Apr 15, 2019

@xmnlab xmnlab moved this from In progress to Needs review in OmniSci Apr 15, 2019

OmniSci automation moved this from Needs review to Done Apr 16, 2019

cpcloud added a commit that referenced this issue Apr 16, 2019

Added StringToTimestamp as unsupported
Resolves #1638
Author: Ivan Ogasawara <ivan.ogasawara@gmail.com>

Closes #1760 from xmnlab/to_timestamp_unsupported and squashes the following commits:

7125e4e [Ivan Ogasawara] Added StringToTimestamp as unsupported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.