Using bq tool I have no problem escaping the > operator with a caret ^:
bq query "SELECT x FROM [presentation_dim.dim_events] WHERE event^>1"
However, when I CALL the exact same command through a bat file whe whole thing breaks down.
call bq query "SELECT x FROM [presentation_dim.dim_events] WHERE event^>1"
I understand call
is the problem here. I can't remove it, since I need to run additional commands after it (bq extract
and gsutil cp
). I've tried adaptations of what is shown on Escape user input in windows batch file, to no avail.
What's wrong here? Thanks in advance.