Currently Calcite assumes that elasticsearch server will be exposed on HTTP only. So, it initializes HTTP host with default scheme i.e. HTTP. Code
If a ElasticSearch server is on HTTPS, connection to it fails with below exception:
Caused by: java.net.UnknownHostException
This is evident when trying to connect on AWS ElasticSearchService which is exposed only on HTTPS.