clintropolis opened a new pull request #11895:
URL: https://github.com/apache/druid/pull/11895
### Description
#11713 changed the segment metadata query column analysis `type` field, but
this might not be very friendly to non Druid-schema users who are calling this
query directly because, merging query results of mixed versions of Druid would
result in an error due to mismatched types.
This PR reverts `type` to its original behavior, and adds a new
`typeSignature` which is used by `DruidSchema`. Error messaging when merging
`ColumnAnalysis` has also been improved to include the mismatched types
involved in the merge.
<hr>
##### Key changed/added classes in this PR
* `ColumnAnalysis`
* `SegmentAnalyzer`
<hr>
This PR has:
- [x] been self-reviewed.
- [x] added documentation for new or modified features or behaviors.
- [x] added comments explaining the "why" and the intent of the code
wherever would not be obvious for an unfamiliar reader.
- [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.
- [ ] 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]