XiaoyuBD opened a new pull request #567: [GRIFFIN-322] Add SQL mode for ES 
connector
URL: https://github.com/apache/griffin/pull/567
 
 
   As  
[GRIFFIN-322](https://issues.apache.org/jira/projects/GRIFFIN/issues/GRIFFIN-322?filter=allopenissues)
 , we want add sql mode for es connector.   
   
   **The sql mode would more effective and user-friendly.** 
   
   Current mode config:
   {   "class": 
"org.apache.griffin.measure.datasource.connector.batch.ElasticSearchGriffinDataConnector",
       "index": "index-xxx",
       "type": "metric",
       "host": "xxxxxxxxxx",
       "port": "xxxx",
       "fields": ["col_a", "col_b", "col_c"],
       "size": 100}
   
   SQL mode config: 
   {    "class": 
"org.apache.griffin.measure.datasource.connector.batch.ElasticSearchGriffinDataConnector",
        "host": "xxxxxxxxxx",
        "port": "xxxx",
        "sql": "select col_a, col_b, col_c from index-xx limit 100"}
   
   Compared with current mode, SQL mode could support other types except number 
type.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to