uranusjr commented on code in PR #33595:
URL: https://github.com/apache/airflow/pull/33595#discussion_r1302454667
##########
airflow/providers/common/sql/operators/sql.py:
##########
@@ -837,7 +837,7 @@ def execute(self, context: Context):
pass_value_conv = _convert_to_float_if_possible(self.pass_value)
is_numeric_value_check = isinstance(pass_value_conv, float)
- tolerance_pct_str = str(self.tol * 100) + "%" if self.tol is not None
else None
+ tolerance_pct_str = f"{self.tol:.1%}" if self.tol is not None else None
Review Comment:
I think this (and the other change below) can actually be combined into
`error_msg` directly
--
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]