cube-js/cube

Validate column existence in database

Open

#6,601 opened on 2023年5月15日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Rust (19,563 stars) (1,965 forks)batch import
help wanted

説明

Hey folks 👋 !

Is your feature request related to a problem? Please describe. As a cube JS user, i am frustrated not being able to confront my cube definition vs actual tables layout in database

Describe the solution you'd like Ideally, a CLI command npx cube-js validate-table-layout would generate 1 SQL query per cube and 1 SQL query per view then dry run (Where 1=2) it against a given database to check column existence

Describe alternatives you've considered I considered to build my own validation using a python script but it's cumberstone and would not benefit cube nor the comunity

Additional context Such feature exist for Looker for example

コントリビューターガイド