GreptimeTeam/greptimedb

information_schema improvements

Open

#2,931 opened on Dec 14, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (495 forks)github user discovery
C-user-experiencegood first issuehelp wantedtracking-issue

Repository metrics

Stars
 (6,332 stars)
PR merge metrics
 (PR metrics pending)

Description

What type of enhancement is this?

API improvement, Configuration, User experience, Other

What does the enhancement do?

Information Schema provides an ANSI-standard way of viewing system metadata. But we only have two internal tables: tables and columns, that's not enough for compatibility or such as query functions in #2921 .

TiDB has a great doc that describes its information schema: https://docs.pingcap.com/tidb/stable/information-schema

Tasks

So I created this tracking issue to add more tables into information_schema and welcome all developers who are interested in GreptimeDB to contribute:

All the tables that are not implemented, we can just return zero rows.

Of course, we will have some extension tables:

The following tasks:

  • Docs to describe all these tables
  • Adds docs to database administrator document.

Reference info

Someone who are interested in contributing can refer to these PRs:
https://github.com/GreptimeTeam/greptimedb/pull/2969 https://github.com/GreptimeTeam/greptimedb/pull/2935

Implementation challenges

No response

Contributor guide