oss-know / airflow-jobs

Apache License 2.0
6 stars 19 forks source link

Replace pandas.core.Series.iteritems with items() #207

Closed crystaldust closed 1 year ago

crystaldust commented 1 year ago

Use f''' strings to replace multiple single line f strings in long SQL delcarations, make the SQLs more human readable.

Cautious! This change might not work since there are super long string value checks on 'command' column in clickhouse system table. The clickhouse SQL parser "should" handle the newlines but currnetly it's not fully tested(on our side, not clickhouse side)