You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by 林锦明 <fo...@qq.com> on 2018/07/13 08:15:45 UTC

kylin相关sql

您好,请问kylin列出所有表的sql怎么写的,像Mysql是show tables,但是kylin的怎么写,期待您的回复,谢谢!

Re: kylin相关sql

Posted by ShaoFeng Shi <sh...@apache.org>.
Hi Jinming,

Kylin doesn't support "show tables" SQL statement. But you can use its REST
API or JDBC driver to get the table/column list.

Rest API:
https://kylin.apache.org/docs/howto/howto_use_restapi.html#list-queryable-tables

JDBC sample:
https://github.com/apache/kylin/blob/master/jdbc/src/test/java/org/apache/kylin/jdbc/DriverTest.java


在 2018年7月13日 下午4:15,林锦明 <fo...@qq.com>写道:

> 您好,请问kylin列出所有表的sql怎么写的,像Mysql是show tables,但是kylin的怎么写,期待您的回复,谢谢!




-- 
Best regards,

Shaofeng Shi 史少锋