cube-js/cube

Utilise database comments on tables (and fields) to populate descriptions in Cube

Open

#4,707 opened on Jun 4, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
help wantedloggedreviewed

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

Problem

When generating a schema in Cube, is it possible to leverage the existing database table & columns' comments to populate the descriptions parameter on cubes? I’m a big fan of descriptions within the database (I generate these via dbt) and an example I have is pictured below (a Redshift table DDL):

Contributor guide