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

feat: to_interval for Snowflake backend #9783

Closed
1 task done
mohelm opened this issue Aug 7, 2024 · 0 comments · Fixed by #9794
Closed
1 task done

feat: to_interval for Snowflake backend #9783

mohelm opened this issue Aug 7, 2024 · 0 comments · Fixed by #9794
Labels
feature Features or general enhancements snowflake The Snowflake backend

Comments

@mohelm
Copy link

mohelm commented Aug 7, 2024

What happened?

With the Snowflake backend I get an OperationNotDefinedError error

when doing

t.mutate(new_time=t["old_time"] - t["some_integer"].to_interval(unit="D")) 

Here "old_time" is a timestamp column and "some_integer" is a column containing integer values. t is a table. I think the to_interval operation is not implemented for SF.

What version of ibis are you using?

latest - 9.2 i believe.

What backend(s) are you using, if any?

Snowflake.

Relevant log output

I get a `OperationNotDefinedError` not defined error.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mohelm mohelm added the bug Incorrect behavior inside of ibis label Aug 7, 2024
@gforsyth gforsyth added snowflake The Snowflake backend feature Features or general enhancements and removed bug Incorrect behavior inside of ibis labels Aug 7, 2024
@gforsyth gforsyth changed the title bug: to_interval is not working on Snowflake backend feat: to_interval for Snowflake backend Aug 7, 2024
@cpcloud cpcloud modified the milestone: 9.3 Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features or general enhancements snowflake The Snowflake backend
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants