Skip to content

Comments

fix: fix misspelled variable, missing format arg, and wrong pointer assignment#570

Merged
wgtmac merged 1 commit intoapache:mainfrom
shangxinli:fix-obvious-errors
Feb 22, 2026
Merged

fix: fix misspelled variable, missing format arg, and wrong pointer assignment#570
wgtmac merged 1 commit intoapache:mainfrom
shangxinli:fix-obvious-errors

Conversation

@shangxinli
Copy link
Contributor

Summary

  • Rename while_digits to whole_digits in decimal parser (typo for "whole" digits, the integer part before the decimal point)
  • Add missing {} format placeholder in parquet writer error message so the codec name is actually included
  • Fix batch = nullptr to *batch = nullptr in EmptyRecordBatchReader::ReadNext() so the caller's shared_ptr is properly cleared

Test plan

  • Build verified locally
  • All existing tests pass (expression_test, util_test, parquet_test)

…ssignment

- Rename `while_digits` to `whole_digits` in decimal parser (typo)
- Add missing `{}` format placeholder in parquet writer error message
- Fix `batch = nullptr` to `*batch = nullptr` in EmptyRecordBatchReader

struct DecimalComponents {
std::string_view while_digits;
std::string_view whole_digits;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@wgtmac wgtmac merged commit c559a08 into apache:main Feb 22, 2026
10 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.

3 participants