blag commented on code in PR #26942:
URL: https://github.com/apache/airflow/pull/26942#discussion_r992641426
##########
airflow/www/views.py:
##########
@@ -3559,11 +3572,10 @@ def datasets_summary(self):
if session.bind.dialect.name == "postgresql":
order_by = (order_by[0].nulls_first(), *order_by[1:])
- total_entries = session.query(func.count(DatasetModel.id)).scalar()
+ count_query = session.query(func.count(DatasetModel.id))
Review Comment:
@bbovenzi For an example, see how we count the number of dataset events in
the results query above.
--
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]