You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/03/30 10:06:52 UTC

[jira] [Commented] (LENS-467) Adding using POJOs as another communication protocol between Lens and Drivers

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

Amareshwari Sriramadasu commented on LENS-467:
----------------------------------------------

bq. Lens has already parsed cube query and is aware of above mentioned lists. If lens can communicate these lists to drivers instead of HQL, it will save drivers from parsing HQL.
Input query can be more than simple cube query. It can be complicated SQL with sub queries. Or direct native table query as well.

> Adding using POJOs as another communication protocol between Lens and Drivers
> -----------------------------------------------------------------------------
>
>                 Key: LENS-467
>                 URL: https://issues.apache.org/jira/browse/LENS-467
>             Project: Apache Lens
>          Issue Type: New Feature
>            Reporter: Himanshu Gahlaut
>
> In the developer meet dated March 28, 2015, scope of addition of new drivers like elastic search was discussed. Drivers like elastic search driver may retrieve data using programmatic APIs instead of HQL from underlying storage systems. In such cases it will be an overhead on driver side to translate HQL to inputs to be given to programmatic APIs. These drivers may not have join scope as well. This jira is to discuss the scope of communicating an object with following information to drivers:
> (a) List of Select
> (b) From
> (c) List of Where (filters)
> (d) List of Group By
> (e) List of Having
> (f)  List of Joins (Optional)
> Lens has already parsed cube query and is aware of above mentioned lists. If lens can communicate these lists to drivers instead of HQL, it will save drivers from parsing HQL.
> There may be various things which we have to consider to achieve the same. This jira is to discuss the same.
> Drivers may communicate via driver configuration file whether they are interested in HQL or a POJO composed of above lists and lens may call corresponding APIs on drivers.



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