I'm getting the following error when trying to execute the bq query:
FATAL Flags parsing error: Unknown command line flag '-v'
The query is simple and I think the problem is inside the concat function, because I'm trying to concat a curl command and there I have a -v flag, the query is below:
select concat('curl -v https://api.com.br/push.json -H \"Content-Type: application/json\" -H \"x_application: WebApp\" -H -X POST -d \'{\"pushes\":[\''
,string_agg(to_json_string(t)),']}\'') as json
How can I escape the -v to not getting this error?
Thanks
bq query "select concat(...)"you get the error message or after you get the return of the select statement and run the resultingcurlcommand is that you get the error message?