cube icon indicating copy to clipboard operation
cube copied to clipboard

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

Open ThomasKientz opened this issue 1 year ago • 0 comments

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

ThomasKientz avatar Jul 18 '22 07:07 ThomasKientz

If you are interested in working on this issue, please leave a comment below and we will be happy to assign the issue to you. If this is the first time you are contributing a Pull Request to Cube.js, please check our contribution guidelines. You can also post any questions while contributing in the #contributors channel in the Cube.js Slack.

github-actions[bot] avatar Aug 15 '22 06:08 github-actions[bot]