jedcunningham opened a new pull request, #38654:
URL: https://github.com/apache/airflow/pull/38654

   Don't print the string representation of a list, print out just the table 
names.
   
   Before:
   ```
   You have requested that we drop 4 archived tables prefixed with 
_airflow_deleted__.
   This is irreversible. Consider backing up the tables first                   
            
                                                                                
            
   Show tables? (y/n):                                                          
            
   y                                                                            
            
   ['_airflow_deleted__dag__20240401153649', 
'_airflow_deleted__dag_run__20240401153649', 
'_airflow_deleted__job__20240401153649', 
'_airflow_deleted__log__20240401153649'] 
   ```
   
   After:
   ```
   You have requested that we drop 4 archived tables prefixed with 
_airflow_deleted__.
   This is irreversible. Consider backing up the tables first.
   
   Show tables that will be dropped? (y/n): 
   y
     _airflow_deleted__dag__20240401153649
     _airflow_deleted__dag_run__20240401153649
     _airflow_deleted__job__20240401153649
     _airflow_deleted__log__20240401153649
   ```
   
   And with less than 3 tables...
   Before:
   ```
   You have requested that we drop the following archived tables 
['_airflow_deleted__job__20240401153649', 
'_airflow_deleted__log__20240401153649'].
   This is irreversible. Consider backing up the tables first 
   ```
   
   After:
   ```
   You have requested that we drop the following archived tables: 
_airflow_deleted__job__20240401153649, _airflow_deleted__log__20240401153649.
   This is irreversible. Consider backing up the tables first.
   
   ```


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to