amoghrajesh commented on code in PR #45002:
URL: https://github.com/apache/airflow/pull/45002#discussion_r1889683592


##########
airflow/models/taskinstance.py:
##########
@@ -3615,7 +3615,10 @@ def duration_expression_update(
             return query.values(
                 {
                     "end_date": end_date,
-                    "duration": (func.julianday(end_date) - 
func.julianday(cls.start_date)) * 86400,
+                    "duration": func.cast(

Review Comment:
   We maintain 6 decimal places for TI table. Do we want to maintain something 
similar? 
   I am ok with either cases.



-- 
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]

Reply via email to