-
Notifications
You must be signed in to change notification settings - Fork 240
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
Show table extended is slow #269
Comments
(Relevant: dbt-labs/dbt-adapters#513) |
Hey there! First off @lipan1024 , were you able to discovery more or resolve your issue with:
Second, the context you've given spells out the time difference well. That said, I can't quite tell why that
|
This is a known performance bottleneck, originally opened in dbt-labs/dbt-adapters#513. There's investigation and potential next steps described in #296 |
Describe the problem
I use spark-thirft to connect to the spark cluster
When I use a console to run commands
dbt run -m test_spark5
This is the output log from the console
When I run commands using both consoles
First console:
dbt run -m test_spark5
Second console:
dbt run -m test_spark6
This is the output log from the first console
This is the output log from the second console
Conclusion
The time for the same Spark Application to run the
show table extended in test like '*'
statement is doubled.I have summed up this conclusion after testing for many times. Is there any way to avoid this problem.
Supplement
For some reason, I can only run one model at a time, so I can't use
dbt run -m test_spark5 test_spark6
The text was updated successfully, but these errors were encountered: