You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/22 21:05:44 UTC
[GitHub] [airflow] dstandish opened a new issue, #26607: resolve web ui views warning re DISTINCT ON
dstandish opened a new issue, #26607:
URL: https://github.com/apache/airflow/issues/26607
### Body
Got this warning in webserver output when loading home page
```
/Users/dstandish/code/airflow/airflow/www/views.py:710 SADeprecationWarning: DISTINCT ON is currently supported only by the PostgreSQL dialect. Use of DISTINCT ON for other backends is currently silently ignored, however this usage is deprecated, and will raise CompileError in a future release for all backends that do not support this syntax.
```
looks like it's this line
```
dagtags = session.query(DagTag.name).distinct(DagTag.name).all()
```
may be able to change to `func.distinct`
### Committer
- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #26607: resolve web ui views warning re DISTINCT ON
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #26607: resolve web ui views warning re DISTINCT ON
URL: https://github.com/apache/airflow/issues/26607
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org