cube-js / cube-js/cube

Auto aliasing for generated SQL

Open
#4,019 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

While generating the final SQL for the request to some cube, we are using SQL alias property to produce different types of SQL aliases (keys, joins, etc.), if specified, and underscored cube's name otherwise. In some cases, it could be a reason for such bugs: https://github.com/cube-js/cube.js/issues/3324.

Promoted solution: apply auto alias like "C1", "C2", ... "Cn" on each cube if its SQL alias was not specified, use specified property otherwise.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.