Skip to content

将新增功能的描述加到wiki #793

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

Merged
Merged
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
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ http://localhost:9200/_sql/_explain?sql=select * from indexName limit 10
* SQL Select
* SQL Delete
* SQL Where
* can use "case when" in where clause
* SQL Order By
* can use "case when" in order by clause
* SQL Group By
* SQL AND & OR
* SQL Like
Expand All @@ -462,9 +464,20 @@ http://localhost:9200/_sql/_explain?sql=select * from indexName limit 10
* SQL log10
* SQL substring
* SQL round
* eg: round(10.135, 2) --> 10.14
* SQL sqrt
* SQL concat_ws
* SQL union and minus
* SQL case when
* can use "in"、"not in" judge in case when clause
* can execute simple calculation in case when clause, eg : case when 1 = 1 then field_1 + field_2 else 0 end
* SQL if
* select if(sex='1','男','女') from t_user;
* SQL limit
* can set aggregation bucket size and shard size by setting limit, shardSize = 20 * bucketSize
* eg: select city,count(*) as user_count from t_user group by city limit 100;
* on the above example, the bucket size is 100, shard size is 20*100 = 2000


## JDBC Support (Experimental feature)

Expand Down