Skip to content

Conversation

@XiaoHongbo-Hope
Copy link
Contributor

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@XiaoHongbo-Hope XiaoHongbo-Hope marked this pull request as ready for review February 3, 2026 10:28
@XiaoHongbo-Hope XiaoHongbo-Hope changed the title [python/hotfix] fix bucket hash calculation [python/hotfix] fix bucket num calculation Feb 3, 2026
return s


def _to_binary_row_bytes(type_names: List[str], values: Tuple[Any, ...]) -> bytes:
Copy link
Contributor

Choose a reason for hiding this comment

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

Use GenericRowSerializer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use GenericRowSerializer?

Updated

]

@parameterized.expand([('parquet',), ('orc',), ('avro',)])
def test_py_write_read_pk_table_bucket_num_calculate(self, file_format):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you merge this method into test_py_write_read_pk_table?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you merge this method into test_py_write_read_pk_table?

Updated

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 4a48d4d into apache:master Feb 4, 2026
13 of 14 checks passed
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