Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CC: and BCC: fields are not templated in EmailOperator #344

Closed
potiuk opened this issue Jul 15, 2019 · 0 comments
Closed

The CC: and BCC: fields are not templated in EmailOperator #344

potiuk opened this issue Jul 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@potiuk
Copy link
Collaborator

potiuk commented Jul 15, 2019

Describe the feature
There is no support for templated fields in CC: and BCC: fields
Only the 'to', 'subject' and 'html_content' fields in EmailOperator are templated.
In practice this covers all fields of an Oozie email action node apart from cc and bcc.

Therefore if there is an EL function in the action node in either of these two fields
which will require a Jinja expression in Airflow, it will not work - the expression will
not be executed, but rather treated as a plain string.

Expected behavior
The EmailOperator should be updated to support templating in those fields.

@potiuk potiuk added the enhancement New feature or request label Jul 15, 2019
@potiuk potiuk removed this from the Delta (nice-to-have time permitting) milestone Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
  翻译: