apache/pinot

Support Describe Pinot table and schema

Open

#6,298 建立於 2020年11月27日

在 GitHub 查看
 (9 留言) (0 反應) (1 負責人)Java (1,234 fork)batch import
featurehelp wanted

倉庫指標

Star
 (4,937 star)
PR 合併指標
 (平均合併 6天 7小時) (30 天內合併 186 個 PR)

描述

Pinot table conf and schema access is from restful API only right now.

It would be good to support the built-in system tables, and we can query schema in SQL style. This will be useful for users to have a similar onboarding experience that everything can come from the query console. It's also good for Pinot integrations with other systems.

Query examples for references:

SHOW TABLES
DESCRIBE TABLE myTable
SHOW COLUMNS FROM myTable
SELECT 
    TABLE_SCHEMA,
    TABLE_NAME,
    COLUMN_NAME
FROM
    INFORMATION_SCHEMA.COLUMNS
WHERE
    TABLE_SCHEMA <> 'INFORMATION_SCHEMA'

貢獻者指南