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

bug: mutate(a=".") fails #10256

Closed
1 task done
syakesaba opened this issue Sep 30, 2024 · 2 comments
Closed
1 task done

bug: mutate(a=".") fails #10256

syakesaba opened this issue Sep 30, 2024 · 2 comments
Labels
question Questions about the library ux User experience related issues
Milestone

Comments

@syakesaba
Copy link

What happened?

ibis.get_backend().name
# 'duckdb'
ibis.memtable([{"a":1},]).mutate(b=".")

Raises ibis.common.exceptions.IbisTypeError: Column '.' is not found in table. Existing columns: 'a'.

What version of ibis are you using?

ibis-framework==9.5.0
duckdb==1.1.0

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

DuckDB

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@syakesaba syakesaba added the bug Incorrect behavior inside of ibis label Sep 30, 2024
@syakesaba
Copy link
Author

ibis.literal() solved this.

@cpcloud
Copy link
Member

cpcloud commented Sep 30, 2024

Yep, ibis.literal(".") is the solution here!

@cpcloud cpcloud added this to the 10.0 milestone Sep 30, 2024
@cpcloud cpcloud added question Questions about the library ux User experience related issues and removed bug Incorrect behavior inside of ibis labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions about the library ux User experience related issues
Projects
Archived in project
Development

No branches or pull requests

2 participants