zabetak opened a new pull request, #4390: URL: https://github.com/apache/calcite/pull/4390
ModelHandler is mainly a parser that can transform YAML/JSON files into SchemaPlus objects. Currently, the class requires a CalciteConnection in order to be instantiated and the latter is a pretty heavyweight object. The usage of the CalciteConnection makes it rather cumbersome to instantiate and use the parsing capabilities of the ModelHander independently. In reality though, the handler does not need much from the CalciteConnection and we could easily refactor the handler to not depend on the connection at all. The motivation for this change is to facilitate the creation of schema objects from YAML/JSON files. -- 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]
