jscheffl commented on a change in pull request #15057:
URL: https://github.com/apache/airflow/pull/15057#discussion_r631738950



##########
File path: airflow/providers/apache/hive/hooks/hive.py
##########
@@ -426,7 +426,7 @@ def load_file(
         if create or recreate:
             if field_dict is None:
                 raise ValueError("Must provide a field dict when creating a 
table")
-            fields = ",\n    ".join(['`{k}` {v}'.format(k=k.strip('`'), v=v) 
for k, v in field_dict.items()])
+            fields = ",\n    ".join([f"`{k.strip('`')}` {v}" for k, v in 
field_dict.items()])

Review comment:
       Hi @ashb Yes, the changes in hive.py were unrelated but the test scripts 
failed on this preventing me to open the PR. I needed to fix there... don't 
know why :-(




-- 
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]


Reply via email to