Reputation: 9478
select * from gpqueries:contracts.raw where fiscal_year =2015
ignore case
Whe generating data as JSON or CSV from google big query, and getting data as below when downloaded it from storage bucket.
Please guide me why this happens. Also how can combine multiple files, if generated files are multiple.
Update :
Upvotes: 0
Views: 676
Reputation: 59245
From the screenshot I can see that the first 3 characters are 1F8B08 - that's the signature of a gzip compressed file. Just uncompress it with gunzip.
http://www.filesignatures.net/index.php?page=search&search=1F8B08&mode=SIG
My guess: Did you pick "compression: gzip" when exporting?
Upvotes: 1