abhishekrb19 opened a new pull request, #19162: URL: https://github.com/apache/druid/pull/19162
Fixes https://github.com/apache/druid/issues/18437 and relates to https://github.com/apache/druid/pull/18966. When column analysis encounters errors during merge, the current behavior can cause row signatures to flap on the Brokers, which in turn leads to sporadic query failures or incorrect query results, since query plans rely on the Broker’s segment metadata cache. This issue is more pronounced during segment analysis on realtime servers with JSON columns, where the merge may sometimes produce errors, presumably due to type coercion. This patch ensures that columns are not skipped when such errors occur preserving the row signature's order. ### Release note Preserve row signature column order when column analysis encounters errors, preventing schema flapping and sporadic query failures or incorrect results (fixes https://github.com/apache/druid/issues/18437) This PR has: - [x] been self-reviewed. - [x] a release note entry in the PR description. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met. - [x] been tested in a test Druid cluster. -- 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]
