[ 
https://issues.apache.org/jira/browse/AIRFLOW-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869369#comment-16869369
 ] 

ASF GitHub Bot commented on AIRFLOW-4826:
-----------------------------------------

ashb commented on pull request #5447: [AIRFLOW-4826] Fix warning in resetdb 
command
URL: https://github.com/apache/airflow/pull/5447
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Resetdb command throws warning in new version of alembic
> --------------------------------------------------------
>
>                 Key: AIRFLOW-4826
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4826
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: database
>    Affects Versions: 1.10.3
>            Reporter: Thomas Hillyer
>            Assignee: Thomas Hillyer
>            Priority: Minor
>             Fix For: 1.10.4
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Resetdb still works but connection should be updated
> {code:java}
> $ airflow resetdb
> {...}
> [2019-06-20 09:52:58,165] \{__init__.py:51} INFO - Using executor 
> CeleryExecutor
> DB: postgres+psycopg2://USER:PASS@SERVER/DBNAME
> This will drop existing tables if they exist. Proceed? (y/n)y
> [2019-06-20 09:53:00,869] \{db.py:370} INFO - Dropping tables that exist
> /path/to/ve/lib64/python3.6/site-packages/alembic/util/messaging.py:69: 
> UserWarning: 'connection' argument to configure() is expected to be a 
> sqlalchemy.engine.Connection instance, got 
> Engine(postgres+psycopg2://USER:PASS@SERVER/DBNAME)
>  warnings.warn(msg)
> [2019-06-20 09:53:01,010] \{migration.py:117} INFO - Context impl 
> PostgresqlImpl.
> {...}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to