uros-b opened a new pull request, #57767: URL: https://github.com/apache/spark/pull/57767
### What changes were proposed in this pull request? Aligns two emptiness checks on the `storeMetadata` array in `StateDataSource` to `.nonEmpty`/`.isEmpty`, matching how the same variable is tested elsewhere in the file. ### Why are the changes needed? For a Scala `Array` these are exact equivalents of the `length` comparisons; the nearby `require(... == 1)` count-check is left unchanged. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Stylistic, behavior-identical change. No new tests needed. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
