title: Bigquery export splits into multiple files with some empty files
body: <p>I am trying to use the bigquery export functionality to push data out to GCS in json format.
  At the end of the process inorder to validate the count of exported records in the GCS file,  I am creating an external table with auto schema detection just to take a count of records in the GCS files exported.</p>
  <p>This works for single exported files. But for tables greater than 1gb in size, i use the wild card inorder to split into multiple files. This results in multiple files with some  empty files as well created.</p>
  <p>The empty files are causing an error while querying the external table : &quot;400 Schema has no fields&quot;.</p>
  <p>Please suggest any ideas to:</p>
  <ol>
  <li>Either make sure that empty files do not get created in the export operation for multiple files scenario</li>
  <li>To ignore empty files in the external table creation.</li>
  <li>Any other way to take count of records in GCS after the export operation</li>
  </ol>