Reputation: 13
I have a question about saving large query results to either an external csv or to google sheets. I have a simple query that generates about 23,000 results:
#standardSQL
SELECT DISTINCT id1, id2
FROM `tableA`
WHERE A LIKE "%abcdefg%"
AND B LIKE "%some text%"
AND ts >= TIMESTAMP("2019-04-25 00:00:00")
AND ts < TIMESTAMP("2019-05-29 23:59:00")
I can't save more than 16,000 of these results to a csv file or output to google sheets. I want to be able to save all 23,000 results either into 1 file or into several files, but I don't know how to go about doing this. My permissions don't allow me to save the query output to a new table.
Upvotes: 1
Views: 2024
Reputation: 33725
Upvotes: 2