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

liyang commented on KYLIN-2108:
-------------------------------

Refactor done.
https://github.com/apache/kylin/commit/6366215aef53514d070b9e54abd3716c5abc3615

The KeywordDefaultDirtyHack is disabled by default. To enable it to workaround 
some dirty env, add below line to {{kylin.properties}}

kylin.query.transformers=org.apache.kylin.rest.util.KeywordDefaultDirtyHack

> Support usage of schema name "default" in SQL
> ---------------------------------------------
>
>                 Key: KYLIN-2108
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2108
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Query Engine
>            Reporter: Yifan Zhang
>            Assignee: Yifan Zhang
>            Priority: Minor
>             Fix For: v1.6.0
>
>         Attachments: KYLIN-2108.patch
>
>
> Calcite will treat "DEFAULT" as internal keyword, while "DEFAULT" is also 
> used as HIVE's default schema name. We need to escape such case of usage by 
> quote it.



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

Reply via email to