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
Possible solution
One possibility might be to switch to json logs to facilitate log parsing (using the global cli flaglog-format, e.g. dbt --log-format=json run-operation)
This is just a first investigation of the issue (or potential breaking changes of V1.0.0) and I will continue to look into it as I would really enjoy keeping dbt-invoke for subsequent dbt releases
The text was updated successfully, but these errors were encountered:
* fix for dbt v1.0.0
* updating workflow
* allow multiple lines in log result
Co-authored-by: robastel <rob.astel@gmail.com>
* bump versions
* hardcoding json log format
* missing and
* linter reformats
* Run workflow on pull request synchronize
* fixing python version for test in workflow
* Exclude Python 3.9 dbt 0.18.x test combo
* Update README.md
Co-authored-by: robastel <rob.astel@gmail.com>
Co-authored-by: Jan Nitschke <jan.nitschke.ext@statista.com>
Problem:
The
v1.0.0
release introduced structured logging across all of dbt logs (also those printed to stdout) (release notes). See also dbt-labs/dbt-core#3359 (comment) and dbt-labs/dbt-core#4055.Unfortunately (or thankfully), this means that logs for
dbt run-operation
now look likeinstead of
In the case that I am currently looking at (generating the column names), logs are parsed based on line start and ends
dbt-invoke/dbt_invoke/properties.py
Lines 505 to 507 in 8e54944
Possible solution
One possibility might be to switch to json logs to facilitate log parsing (using the global cli flag
log-format
, e.g.dbt --log-format=json run-operation
)This is just a first investigation of the issue (or potential breaking changes of V1.0.0) and I will continue to look into it as I would really enjoy keeping
dbt-invoke
for subsequent dbt releasesThe text was updated successfully, but these errors were encountered: