티스토리 뷰

공부

[airflow] variables `{{ var.value.aa }}`

승가비 2023. 3. 14. 02:33
728x90

https://stackoverflow.com/questions/69048706/airflow-how-to-get-an-airflow-variable-inside-the-bash-command-in-bash-operato

 

Airflow - How to get an Airflow variable inside the bash command in Bash Operator?

I have an Airflow variable And I would like to get it inside a bash command on Bash Operator. I tried: t2 = BashOperator( task_id= 'try_bash', bash_command="echo {{var.aa}}&qu...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[sh] sudo systemctl list-units  (0) 2023.03.14
[jinja2] {{ asdf|join(", ") }}  (0) 2023.03.14
[spark] show(count, false); no_truncated=false  (0) 2023.03.14
[yarn] memory & core  (0) 2023.03.14
[zeppelin] lifecyclemanager  (0) 2023.03.12
댓글