Replies: 2 comments 13 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
It's likely your misunderstanding - this is how default log formatter logs strings that have Converted it into a discussion if more is neede. |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.7.2
What happened?
I am encountering an unexpected issue with string concatenation in Airflow 2.7.2 using Python 3.11.5. The issue only occurs in Airflow, while the same string concatenation works correctly in local unit tests.
What you think should happen instead?
The concatenated string values_str_3 should be correctly formatted and match the output of values_str and values_str_2
How to reproduce
Use the following code snippet in an Airflow DAG or script:
The concatenated string values_str_3 is incorrectly formatted in Airflow logs.
Logs:
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
Anything else?
Interestingly, when the concatenated string is split, the result is correct:
Logs:
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions