You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
While run, compile or other command for partial parsing received Compilation Error:
dbt found two macros named "<user_macro>" in the project "<user_project>"
To fix this error, rename or remove one of the following macros:
- /macros/foo/bar.sql
- /macros/foo/bar.sql
Expected Behavior
No error
Steps To Reproduce
Create macros.sql file with 2 macros inside
Create macros.yml with documenation for this 2 macros
Run dbt compile
Change something in macros.yml
Run dbt compile again
Relevant log output
08:46:39 Encountered an error:
Compilation Error
dbt found two macros named "<macros_name>"in the project "<project_name>".
To fix this error, rename or remove one of the following macros:
- macros/foo/bar.sql
- macros/foo/bar.sql
08:46:39 Command `dbt compile` failed at 11:46:39.886922 after 1.85 seconds
08:46:39 Flushing usage events
Environment
- Python: 3.10.4
- dbt: 1.6.2
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
dbt-adapter: dbt-athena: 1.6.1
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Bug] Compilation Error on macros during partial parsing
[CT-3186] [Bug] Compilation Error on macros during partial parsing
Oct 5, 2023
Is this a new bug in dbt-core?
Current Behavior
While
run
,compile
or other command for partial parsing receivedCompilation Error
:Expected Behavior
No error
Steps To Reproduce
dbt compile
dbt compile
againRelevant log output
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
dbt-adapter: dbt-athena: 1.6.1
The text was updated successfully, but these errors were encountered: