You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "zhangtianyu002@chinasofti.com" <zh...@chinasofti.com> on 2016/11/11 01:45:17 UTC

When query this statement will be reported to the wrong

hi:
When query this statement will be reported to the wrong? The default is hive databasename.
SELECT * FROM DEFAULT.TABLE_NAME;

right:
SELECT * FROM TABLE_NAME;



咨询顾问,数据服务业务线,张天宇


Re: When query this statement will be reported to the wrong

Posted by "Billy(Yiming) Liu" <li...@gmail.com>.
"DEFAULT" is a reserved word in Apache Calcite which is also the SQL parser
in Kylin. Please try "DEFAULT".TABLE_NAME.

2016-11-11 9:45 GMT+08:00 zhangtianyu002@chinasofti.com <
zhangtianyu002@chinasofti.com>:

> hi:
> When query this statement will be reported to the wrong? The default is
> hive databasename.
> SELECT * FROM DEFAULT.TABLE_NAME;
>
> right:
> SELECT * FROM TABLE_NAME;
>
> ------------------------------
>
> 咨询顾问,数据服务业务线,*张天宇*
>
>
>


-- 
With Warm regards

Yiming Liu (刘一鸣)