Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Mar 23, 2025

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

Are these changes tested?

@Fokko Fokko changed the title Add negative example Fix rounding of negative hour transform Mar 23, 2025
)
result = transform.hour(arr)
expected = pa.array([19, 264420], type=pa.int32())
expected = pa.array([19, 264420, -17072905], type=pa.int32())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example comes from apache/iceberg-python#1833

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix @Fokko!

@Xuanwo Xuanwo merged commit 1aa76cf into apache:main Mar 24, 2025
17 checks passed
@Fokko Fokko deleted the fd-negative branch March 24, 2025 05:57
@Fokko
Copy link
Contributor Author

Fokko commented Mar 24, 2025

Appreciate the quick review @Xuanwo

kevinjqliu added a commit to apache/iceberg-python that referenced this pull request Jun 7, 2025
# Rationale for this change

Testing out to use Iceberg Rust for all of the transforms. I think we
have some rounding error in
apache/iceberg-rust#1128

Closes #1591

# Are these changes tested?

# Are there any user-facing changes?

<!-- In the case of user-facing changes, please add the changelog label.
-->

---------

Co-authored-by: Kevin Liu <[email protected]>
amitgilad3 pushed a commit to amitgilad3/iceberg-python that referenced this pull request Jul 7, 2025
# Rationale for this change

Testing out to use Iceberg Rust for all of the transforms. I think we
have some rounding error in
apache/iceberg-rust#1128

Closes apache#1591

# Are these changes tested?

# Are there any user-facing changes?

<!-- In the case of user-facing changes, please add the changelog label.
-->

---------

Co-authored-by: Kevin Liu <[email protected]>
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
# Rationale for this change

Testing out to use Iceberg Rust for all of the transforms. I think we
have some rounding error in
apache/iceberg-rust#1128

Closes apache#1591

# Are these changes tested?

# Are there any user-facing changes?

<!-- In the case of user-facing changes, please add the changelog label.
-->

---------

Co-authored-by: Kevin Liu <[email protected]>
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 this pull request may close these issues.

2 participants