[jira] [Updated] (CALCITE-3434) ElasticSearch adapter can not init rest client with "pathPrefix"
[ https://issues.apache.org/jira/browse/CALCITE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3434: - Fix Version/s: (was: next) 1.22.0 > ElasticSearch adapter can not init rest client with "pathPrefix" > - > > Key: CALCITE-3434 > URL: https://issues.apache.org/jira/browse/CALCITE-3434 > Project: Calcite > Issue Type: Improvement > Components: elasticsearch-adapter >Affects Versions: 1.21.0 >Reporter: Jeffery Zhang >Assignee: Danny Chen >Priority: Minor > Labels: pull-request-available > Fix For: 1.22.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > when we use elasticsearch adapter, we can only set coordinate or hosts, but > we can't set "pathPrefix" to the rest client. > can we set the calcite model like below, > { > "version": "1.0", > "defaultSchema": "elasticsearch", > "schemas": [ > { > "type": "custom", > "name": "elasticsearch", > "factory": > "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", > "operand": { > "coordinates": "\{'127.0.0.1': 9200}", > "index":"usa", > "pathPrefix":"pathPrefix" > } > }] > } -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (CALCITE-3434) ElasticSearch adapter can not init rest client with "pathPrefix"
[ https://issues.apache.org/jira/browse/CALCITE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3434: Summary: ElasticSearch adapter can not init rest client with "pathPrefix" (was: elasticsearch adapter can not init rest client with "pathPrefix") > ElasticSearch adapter can not init rest client with "pathPrefix" > - > > Key: CALCITE-3434 > URL: https://issues.apache.org/jira/browse/CALCITE-3434 > Project: Calcite > Issue Type: Improvement > Components: elasticsearch-adapter >Affects Versions: 1.21.0 >Reporter: Jeffery Zhang >Assignee: Danny Chen >Priority: Minor > Labels: pull-request-available > Fix For: next > > Time Spent: 1h 50m > Remaining Estimate: 0h > > when we use elasticsearch adapter, we can only set coordinate or hosts, but > we can't set "pathPrefix" to the rest client. > can we set the calcite model like below, > { > "version": "1.0", > "defaultSchema": "elasticsearch", > "schemas": [ > { > "type": "custom", > "name": "elasticsearch", > "factory": > "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", > "operand": { > "coordinates": "\{'127.0.0.1': 9200}", > "index":"usa", > "pathPrefix":"pathPrefix" > } > }] > } -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (CALCITE-3434) elasticsearch adapter can not init rest client with "pathPrefix"
[ https://issues.apache.org/jira/browse/CALCITE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffery Zhang updated CALCITE-3434: --- Description: when we use elasticsearch adapter, we can only set coordinate or hosts, but we can't set "pathPrefix" to the rest client. can we set the calcite model like below, { "version": "1.0", "defaultSchema": "elasticsearch", "schemas": [ { "type": "custom", "name": "elasticsearch", "factory": "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", "operand": { "coordinates": "\{'127.0.0.1': 9200}", "index":"usa", "pathPrefix":"pathPrefix" } }] } was: when we use elasticsearch adapter, we can only set coordinate or hosts, but we can't set "pathPrefix" to the rest client. can we set the calcite model like below, { "version": "1.0", "defaultSchema": "elasticsearch", "schemas": [ { "type": "custom", "name": "elasticsearch", "factory": "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", "operand": { "coordinates": "\{'127.0.0.1': 9200}", "index":"usa", "pathPrefix":"pathPrefix" } }] } > elasticsearch adapter can not init rest client with "pathPrefix" > - > > Key: CALCITE-3434 > URL: https://issues.apache.org/jira/browse/CALCITE-3434 > Project: Calcite > Issue Type: Improvement > Components: elasticsearch-adapter >Affects Versions: 1.21.0 >Reporter: Jeffery Zhang >Priority: Minor > Labels: pull-request-available > Fix For: next > > > when we use elasticsearch adapter, we can only set coordinate or hosts, but > we can't set "pathPrefix" to the rest client. > can we set the calcite model like below, > { > "version": "1.0", > "defaultSchema": "elasticsearch", > "schemas": [ > { > "type": "custom", > "name": "elasticsearch", > "factory": > "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", > "operand": { > "coordinates": "\{'127.0.0.1': 9200}", > "index":"usa", > "pathPrefix":"pathPrefix" > } > }] > } -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (CALCITE-3434) elasticsearch adapter can not init rest client with "pathPrefix"
[ https://issues.apache.org/jira/browse/CALCITE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffery Zhang updated CALCITE-3434: --- Description: when we use elasticsearch adapter, we can only set coordinate or hosts, but we can't set "pathPrefix" to the rest client. can we set the calcite model like below, { "version": "1.0", "defaultSchema": "elasticsearch", "schemas": [ { "type": "custom", "name": "elasticsearch", "factory": "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", "operand": { "coordinates": "\{'127.0.0.1': 9200}", "index":"usa", "pathPrefix":"pathPrefix" } }] } was: when we use elasticsearch adapter, we can only set coordinate or hosts, but we can't set "pathPrefix" to the rest client. can we set the calcite model like below, { "version": "1.0", "defaultSchema": "elasticsearch", "schemas": [ { "type": "custom", "name": "elasticsearch", "factory": "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", "operand": { "coordinates": "\{'127.0.0.1': 9200}", "index":"usa", "pathPrefix":"pathPrefix" } }]} > elasticsearch adapter can not init rest client with "pathPrefix" > - > > Key: CALCITE-3434 > URL: https://issues.apache.org/jira/browse/CALCITE-3434 > Project: Calcite > Issue Type: Improvement > Components: elasticsearch-adapter >Affects Versions: 1.21.0 >Reporter: Jeffery Zhang >Priority: Minor > Labels: pull-request-available > Fix For: next > > > when we use elasticsearch adapter, we can only set coordinate or hosts, but > we can't set "pathPrefix" to the rest client. > can we set the calcite model like below, > { > "version": "1.0", > "defaultSchema": "elasticsearch", > "schemas": [ > { > "type": "custom", > "name": "elasticsearch", > "factory": > "org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory", > "operand": { > "coordinates": "\{'127.0.0.1': 9200}", > "index":"usa", > "pathPrefix":"pathPrefix" > } > }] > } -- This message was sent by Atlassian Jira (v8.3.4#803005)