uranusjr commented on code in PR #23434:
URL: https://github.com/apache/airflow/pull/23434#discussion_r864014117
##########
airflow/models/mappedoperator.py:
##########
@@ -795,7 +795,10 @@ def parse_time_mapped_ti_count(self) -> Optional[int]:
if not isinstance(value, MAPPABLE_LITERAL_TYPES):
# None literal type encountered, so give up
return None
- total += len(value)
+ if total == 0:
+ total = len(value)
+ else:
+ total *= len(value)
Review Comment:
Let’s do this right now and maybe change it when we fix the `expand` bug.
That way we can keep main working correctly.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]