We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is not possible today, but would be nice to have in there.
The text was updated successfully, but these errors were encountered:
Hi @Fokko I'd like to have I try but I do not know where to put these code. It seems that we already have https://github.com/apache/iceberg-python/blob/bbc7e7c8d095b4afea5c27e6de324d008aa2d803/pyiceberg/expressions/literals.py#L578C1-L585C125
Sorry, something went wrong.
I'm making a similar observation as @Dysprosium0626 as well
from pyiceberg.expressions.literals import StringLiteral from pyiceberg.types import DecimalType StringLiteral("3.33").to(DecimalType(1, 2)).value
yields:
Decimal('3.33')
Is there a specific edge case we've overlooked?
This indeed works:
>>> from pyiceberg.types import DecimalType >>> literal("100.00").to(DecimalType(10,2)) DecimalLiteral(Decimal('100.00'))
I maybe overlooked something when working on #539. Thanks for checking @Dysprosium0626 and @syun64 🙌
No branches or pull requests
Feature Request / Improvement
This is not possible today, but would be nice to have in there.
The text was updated successfully, but these errors were encountered: