Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Fix mistake for es docs #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sql/xsql/docs/docs/datasources/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spark.xsql.datasource.default.whitelist es-whitelist.conf

## Schema Discover

​ Elasticsearch中的字段(也可称为属性)默认都是可以存储Array的,这使得XSQL没有办法准确获得一个字段是它的定义类型,还是数组类型。用户可以通过提供Json格式的配置文件,并通过spark.xsql.datasource.$dataSource.discover属性来指定路径。这里给出Discover文件的格式定义示例:
​ Elasticsearch中的字段(也可称为属性)默认都是可以存储Array的,这使得XSQL没有办法准确获得一个字段是它的定义类型,还是数组类型。用户可以通过提供Json格式的配置文件,并通过spark.xsql.datasource.$dataSource.schemas.discover.config属性来指定文件的位置。这里给出Discover文件的格式定义示例:

```json
{
Expand Down