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

[Bug] Error when generating dbt docs #11

Open
mrprigun opened this issue Oct 20, 2022 · 4 comments
Open

[Bug] Error when generating dbt docs #11

mrprigun opened this issue Oct 20, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@mrprigun
Copy link

I'm trying to generate documentation for the dbt project that works with Greenplum database. The documentation generates but it return non zero exit code, please take a look at the error bellow.

> dbt docs generate       
> Running with dbt=1.2.0
>  Found 40 models, 55 tests, 0 snapshots, 0 analyses, 839 macros, 1 operation, 7 seed files, 0 sources, 0 exposures, 0 metrics
>  
>  Concurrency: 1 threads (target='dev')
>  
>  Done.
>  Building catalog
>  Encountered an error while generating catalog: Runtime Error
  maximum recursion depth exceeded while calling a Python object
>  dbt encountered 1 failure while writing the catalog
> 16:24:36  Catalog written to ......

I tried to change driver from greenplum to postgres in my dbt project and it works well without maximum recursion depth exceeded while calling a Python object error. Looks like there is an issue somewhere here dbt/include/greenplum/macros/catalog.sql.

@markporoshin
Copy link
Owner

markporoshin commented Oct 24, 2022

Hi, I'm going to look on this problem, but in greenplum adapter we do nothing with documentation. It looks strange

@markporoshin markporoshin added the bug Something isn't working label Oct 24, 2022
@markporoshin
Copy link
Owner

Do you use partition functionality?

@mrprigun
Copy link
Author

Hi, I'm going to look on this problem, but in greenplum adapter we do nothing with documentation. It looks strange

Yep this adapter doesn't do anything with documentation. But if I'll run command dbt docs generate dbt will use this adapter to get db schema and types details. Looks like the adapter is not able to proceed that, but postgres adapter can.

Do you use partition functionality?

No

@markporoshin
Copy link
Owner

markporoshin commented Feb 16, 2023

I have tested dbt docs generate and have no errors. Can you provide simple project to reproduce error?

@markporoshin markporoshin self-assigned this Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants