clintropolis opened a new pull request, #14175: URL: https://github.com/apache/druid/pull/14175
### Description Adds new MSQ query context parameter `useAutoColumnSchemas` as a sort of hacky backdoor to allow using the latest and greatest features added in #14014 and related PRs (#13803, etc). When set, all columns except for custom `COMPLEX` column types will use the native 'auto' column indexer added in #14014 when generating segments. I call this a bit hacky because MSQ doesn't officially support the true array types besides `ARRAY<STRING>`, which is translated into `STRING` unless the new context flag is set, but other array types can be still be ingested by specifying `COMPLEX<json>` as the input schema to use the complex passthrough. I did not document this at this time on purpose, this is mainly for allowing experimentation with the newer column features and MSQ. This PR has: - [x] been self-reviewed. - [ ] added documentation for new or modified features or behaviors. - [ ] a release note entry in the PR description. - [ ] 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. - [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]
