[ 
https://issues.apache.org/jira/browse/LENS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342053#comment-14342053
 ] 

Jaideep Dhok commented on LENS-252:
-----------------------------------

[~dvvalia] thanks for your interest

Adding a new backend engine support in lens involves implementing the 
LensDriver API for your chosen engine.

For ElasticSearch this would involve creating a new LensDriver.

Also, users issue queries in cubeql, which is rewritten into HQL before passing 
to execution for drivers, so ElasticSearch driver would have to support HQL. 
This would involve parsing the HQL query and constructing into corresponding 
ElasticSearch query.

# Conditions in where clause or join clause of HQL would have to be converted 
into filter or terms in ES
# Group by and aggregat UDF in HQL converted into facets or aggregated functions
# Projections of columns also need to be supported for example abs(someColumn) 
should get converted to appropriate ES function.

> Add Elastic Search Driver
> -------------------------
>
>                 Key: LENS-252
>                 URL: https://issues.apache.org/jira/browse/LENS-252
>             Project: Apache Lens
>          Issue Type: New Feature
>            Reporter: Sharad Agarwal
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to