cube-js / cube-js/cube

Add an endpoint to get final SQL query (not parameterized)

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

Description

**Is your feature request related to a problem? Please describe.**
The endpoint `/cubejs-api/v1/sql` returns a parameterized query which is of no use.

**Describe the solution you'd like**
An endpoint that returns the final SQL request ready to be pasted in DB ide (to debug and test).

**Describe alternatives you've considered**
Manually replace the `?` with filters value but it is error prone and tiresome.

**Additional context**
related to https://github.com/cube-js/cube.js/issues/4614

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.