[
https://issues.apache.org/jira/browse/CALCITE-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738061#comment-16738061
]
Lai Zhou edited comment on CALCITE-2741 at 1/9/19 10:10 AM:
------------------------------------------------------------
hi,[~zabetak],can you please give a right intellij-code-style template to me?
I already have one from
[https://gist.github.com/gianm/27a4e3cad99d7b9b6513b6885d3cfcc9],
but there are still a lot of errors when performing maven-checkstyle:
{code:java}
[ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/util/Util.java:2105:13:
';' is followed by whitespace. [EmptyForIteratorPad] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/util/Util.java:2110:13:
';' is preceded with whitespace. [NoWhitespaceBefore] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/util/Util.java:2110:15:
';' is followed by whitespace. [EmptyForIteratorPad] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/util/Util.java:2361:
'toImmutableList' have incorrect indentation level 2, expected level should be
6. [Indentation] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:121:
Line is longer than 100 characters (found 105). [LineLength] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:121:31:
'=' is not preceded with whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:121:32:
'=' is not followed by whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:122:30:
'=' is not preceded with whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:122:31:
'=' is not followed by whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:123:24:
'=' is not preceded with whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:126:8:
'catch' is not preceded with whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:126:8:
'}' is not followed by whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:126:28:
'{' is not preceded with whitespace. [WhitespaceAround] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:127:
Line is longer than 100 characters (found 132). [LineLength] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:127:127:
',' is preceded with whitespace. [NoWhitespaceBefore] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:127:129:
',' is not followed by whitespace. [WhitespaceAfter] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:212:13:
';' is preceded with whitespace. [NoWhitespaceBefore] [ERROR]
/Users/zhoulai/Downloads/big-data/calcite/core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:212:15:
';' is followed by whitespace. [EmptyForIteratorPad] [
{code}
was (Author: hhlai1990):
hi,[~zabetak],can you please give a right intellij-code-style template to me?
I already have one from
[https://gist.github.com/gianm/27a4e3cad99d7b9b6513b6885d3cfcc9],
but there are still a lot of errors when performing maven-checkstyle:
!屏幕快照 2019-01-09 16.49.34.png!
> Add operator table with Hive-specific built-in functions
> --------------------------------------------------------
>
> 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
> Attachments: 屏幕快照 2019-01-09 16.49.34.png
>
>
> [~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)