Pad71 opened a new issue, #40045:
URL: https://github.com/apache/airflow/issues/40045

   ### Apache Airflow version
   
   2.9.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   The templated attribute contains a rather long SQL statement (20 000 B). It 
was displayed incorrectly both in the "Task Instance Detail" and in the 
"Rendered Template" section (the SQL statement was truncated). 
   
   I set the max_templated_field_length configuration parameter to 32000. 
   
   After that, the templated attribute was displayed fine in the "Task Instance 
Detail" section, but in the "Rendered Template" section it was still displayed 
incorrectly (see the pict)
   
   Task Instance Detail section
   
![image](https://github.com/apache/airflow/assets/162625270/4e5f8951-d45d-446d-a791-04f1d4a73c27)
   
   Rendered Template section
   
![image](https://github.com/apache/airflow/assets/162625270/12caeb51-7fac-4c16-80d2-33026c5ec8d4)
   
   
   
   
   ### What you think should happen instead?
   
   Templated attribute for a given configuration should also appear correctly 
in the Rendered Template section.
   
   I would also like to ask if the "Rendered Template" link could return to 
where it was before version 2.9.0. That is, as a subitem of the Details tab (at 
the same level as the links to Task Instance Details and List All Instances.
   
   The Rendered template section is very frequently used (our Tasks contain 
mostly SQL) and the current settings since version 2.9.0 make it very difficult 
to use
   
   
   
   ### How to reproduce
   
   Use long data (longer than max_templated_field_length settings) in the 
templated attribute and display it.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to