You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "jerryleooo (Jira)" <ji...@apache.org> on 2020/02/17 08:10:00 UTC

[jira] [Created] (CALCITE-3802) Calcite Elasticsearch adapter should encode the URI before send the request

jerryleooo created CALCITE-3802:
-----------------------------------

             Summary: Calcite Elasticsearch adapter should encode the URI before send the request
                 Key: CALCITE-3802
                 URL: https://issues.apache.org/jira/browse/CALCITE-3802
             Project: Calcite
          Issue Type: Bug
          Components: elasticsearch-adapter
    Affects Versions: 1.21.0
            Reporter: jerryleooo
             Fix For: 1.22.0
         Attachments: image-2020-02-17-16-09-20-794.png

In [https://github.com/apache/calcite/blob/master/elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchTransport.java#L121] when the indexName has some special characters, the request will fail for Elasticsearch server returning HTTP 400 error.

!image-2020-02-17-16-09-20-794.png!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)