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

Lai Zhou edited comment on CALCITE-2741 at 12/14/18 4:12 PM:
-------------------------------------------------------------

we make some  extension of the cacite-core,include:

1.add a new hive operator table  instead of the default SqlStdOperatorTable to 
resolve operator by opName;

2. implements the type mapping from java sql type 2 hive sql type and add a new 
sql validator;

3.rewrite the bindable code generator to support invoking hive operator .

of course,there are some other measures to finish this job.

We need to modify some code of calcite and repackage it. 

If more pepole are interested in this extension,we consider to make a PR.


was (Author: hhlai1990):
we make some  extension of the cacite-core,include:

1.add a new hive operator table  instead of the default SqlStdOperatorTable to 
resolve operator by opName;

2. implements the type mapping from java sql type 2 hive sql type and anew sql 
validator;

3.rewrite the bindable code generator to support invoking hive operator .

of course,there are some other measures to finish this job.

We need to modify some code of calcite and repackage it. 

If more pepole are interested in this extension,we consider to make a PR.

> extend the native  enummerable implemention of calcite to support Hive SQL 
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-2741
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2741
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>            Reporter: Lai Zhou
>            Assignee: Julian Hyde
>            Priority: Minor
>
> [~julianhyde],
> I extended the native enummerable implemention of calcite to support Hive sql 
> ,include UDF、UDAF and all the SqlSpecialOperator,which inspired by apache 
> Drills.
> I modified the parser,type systems,and bridge the hive operator .
> How do you think of supporting a direct implemention of hive sql like this?
> I think it will be valueable when someone want to migrate his hive etl jobs 
> to real-time scene.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to