-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
i have a problem . Hopefully it can be solved 。 #2900
Comments
I found out when I performed "dbt docs generate" , it will excute this sql
Too many resources are required, and execution time is too long to cause a timeout 。 Could you tell me what can be solved? thanks a lot |
Hey @WangSleep, which database / adapter plugin are you using? It sounds like the catalog query—which dbt uses to grab metadata, populate |
yeh . We query by configuring presto-python-client, which I know is for docs, but python_presto query "hive". INFORMATION_SCHEMA is slow. This causes a timeout. Later I found out that I used lore-zeppelin, which was based on jdbc, and I could query. It takes about 5 minutes. thanks a lot ~ |
I'm still a bit confused. Are you using dbt-presto? What's the output when you run |
hi , bro ! |
We haven't released dbt-presto v0.18.1 yet (which is on us), and So... I'm still confused as to which dbt plugin you're using :) |
hi . @jtcohen6 FYI This is the version I installed :) |
Ok, this makes much more sense now. Appreciate the clarification! The snippet you included comes from I'm going to transfer this issue to the dbt-presto repo, where we can discuss if there is a more performant way to write that metadata introspection. Out of curiosity, how many objects are in your |
Issue moved to fishtown-analytics/dbt-presto #34 via ZenHub |
When i excute "dbt docs generate" on CLI .it dosen't work .
it's error message :
PrestoQueryError(type=INTERNAL_ERROR, name=OPTIMIZER_TIMEOUT, message="The optimizer exhausted the time limit of 180000 ms", query_id=20201110_082631_11221_7vjyv)
i can excute "dbt deug" , "dbt test" ,"dbt run" on CLI . but "dbt docs generate" alone can't
Can you solve my problem?
thanks a lot ~~~😊
The text was updated successfully, but these errors were encountered: