The PR also changes the unit tests to centralize the way the generated JSON request is verified against an expected value: the ConnectedDBC class now has two new function members and these will construct the expected JSON object. This allows to easily support addition of any request configuration parameters, besides removing quite some code duplication.
This PR adds the support for the configuration of the
index_include_frozen
parameter of ES/SQL (https://github.com/elastic/elasticsearch/pull/41558): the DSN parameter is calledIndexIncludeFrozen
.The PR also changes the unit tests to centralize the way the generated JSON request is verified against an expected value: the ConnectedDBC class now has two new function members and these will construct the expected JSON object. This allows to easily support addition of any request configuration parameters, besides removing quite some code duplication.