Skip to content

Conversation

@bk-mz
Copy link

@bk-mz bk-mz commented Apr 20, 2025

Previously, the composite read limit was incorrectly constructed using maxFilesPerMicroBatch for both the max files and max rows limits. This commit fixes the bug by using maxRecordsPerMicroBatch to set the max rows limit.

Changes:

  • In getDefaultReadLimit(), update the second element of the composite limit array to use maxRecordsPerMicroBatch instead of duplicating maxFilesPerMicroBatch.

Previously, the composite read limit was incorrectly constructed using
maxFilesPerMicroBatch for both the max files and max rows limits. This
commit fixes the bug by using maxRecordsPerMicroBatch to set the max rows limit.

Changes:
- In getDefaultReadLimit(), update the second element of the composite limit array
  to use maxRecordsPerMicroBatch instead of duplicating maxFilesPerMicroBatch.
@github-actions github-actions bot added the spark label Apr 20, 2025
@bk-mz bk-mz changed the title Fix composite read limit configuration [bugfix] Fix composite read limit configuration Apr 20, 2025
Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

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

Apologies, There is an existing un-merged pr for this : #12260 by @wypoon

@bk-mz
Copy link
Author

bk-mz commented Apr 21, 2025

@singhpk234 opened since February:)

@bk-mz
Copy link
Author

bk-mz commented Apr 21, 2025

Closing as duplicate

@bk-mz bk-mz closed this Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants