cubes icon indicating copy to clipboard operation
cubes copied to clipboard

Add SchemaInspector

Open Stiivi opened this issue 8 years ago • 0 comments

Add an object SchemaInspector that would inspect a database schema and would infer metadata objects:

  • fact tables based on prefix/suffix/pattern: discover_fact_tables() → List[str]
  • dimension tables based on prefix/suffix/pattern: discover_dimension_tables() → List[str]
  • dimension keys based on pattern or other convention
  • relationships based on foreign key constraints or based on naming conventions
  • guess measures

Output should be used by automated model builder (the model has to go through humans anyway if is meant to be used seriously)

Stiivi avatar Apr 02 '17 08:04 Stiivi