Skip to content

Commit

Permalink
[Doc]Update External_table.md (StarRocks#12962)
Browse files Browse the repository at this point in the history
* Update External_table.md

* Update External_table.md
  • Loading branch information
femiiii authored Nov 4, 2022
1 parent afdd874 commit 34ef718
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/data_source/External_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ PROPERTIES (
"user" = "root",
"password" = "root",
"index" = "tindex",
"type" = "doc"
"type" = "doc",
"es.net.ssl" = "true"
);
~~~

Expand All @@ -143,6 +144,10 @@ Parameters

* true: StarRocks only uses the addresses specified by `hosts` to access the Elasticsearch cluster and fetch data and does not sniff data nodes which shards of the Elasticsearch index reside in. If StarRocks cannot access the addresses of the data nodes inside the Elasticsearch cluster, you need to set this parameter to `true`.
* false: default value. StarRocks uses the addresses specified by `host` to sniff data nodes on which the shards of the Elasticsearch cluster indexes are located. After StarRocks generates a query execution plan, the relevant BEs directly access the data nodes inside the Elasticsearch cluster to fetch data from the shards of indexes. If StarRocks can access the addresses of the data nodes inside the Elasticsearch cluster, we recommend that you retain the default value `false`.
**es.net.ssl**: Whether the HTTPS protocol can be used to access your Elasticsearch cluster. Only StarRocks 2.4 and later versions suppprt configuring this parameter.

* `true`: The HTTPS protocol can be used to access your Elasticsearch cluster (Additionaly, the HTTP protocol is supported).
* `false`: The HTTPS protocol cannot be used to access your Elasticsearch cluster. Only the HTTP protocol is supported.

### Predicate pushdown

Expand Down

0 comments on commit 34ef718

Please sign in to comment.