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
565ee opened this issue Sep 27, 2018 · 2 comments · Fixed by #1760
Milestone

Comments

@565ee
Copy link

565ee 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
Copy link
Contributor

xmnlab 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 mapd label Sep 28, 2018
@cpcloud cpcloud modified the milestones: 1.0.0, Next Release Mar 13, 2019
@cpcloud cpcloud modified the milestones: Next Major Release, Next Feature Release Mar 26, 2019
@xmnlab
Copy link
Contributor

xmnlab 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.

cpcloud pushed a commit that referenced this issue Apr 16, 2019
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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants