You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/15 23:02:18 UTC
[GitHub] [airflow] kaxil edited a comment on issue #17032: Improved SQL rendering within BigQueryInsertJobOperator
kaxil edited a comment on issue #17032:
URL: https://github.com/apache/airflow/issues/17032#issuecomment-880826076
Wouldn't just using `strip` where you define the large SQL suffice?
```pycon
❯ python
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> str1 = "\n Starbucks has the best coffee \n"
>>> newstr = str1.strip()
>>> print(newstr)
Starbucks has the best coffee
>>> str1 = "\n Starbucks has the best \n hi coffee \n"
>>> newstr = str1.strip()
>>> print(newstr)
Starbucks has the best
hi coffee
>>>
```
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org