Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC Server: return compiled SQL in exceptions when tasks fail during execution #1371

Closed
drewbanin opened this issue Mar 25, 2019 · 0 comments · Fixed by #1381
Closed

RPC Server: return compiled SQL in exceptions when tasks fail during execution #1371

drewbanin opened this issue Mar 25, 2019 · 0 comments · Fixed by #1381
Labels
rpc Issues related to dbt's RPC server

Comments

@drewbanin
Copy link
Contributor

Feature

Feature description

The RPC Server should return the compiled SQL for an execute task if the query fails after compilation. The RPC server exception response should include the compiled SQL to help users understand what part of their query failed.

In the current implementation, users can see the error from the database, but not the query that failed. This makes it difficult to debug errant queries.

@drewbanin drewbanin added the rpc Issues related to dbt's RPC server label Mar 25, 2019
@drewbanin drewbanin added this to the Wilt Chamberlain milestone Mar 25, 2019
@drewbanin drewbanin mentioned this issue Mar 25, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rpc Issues related to dbt's RPC server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant