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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to