Our process is currently a little clunky we're getting batched CSV outputs from the database, which are turned into json and streamed to pub/sub.
This is troublesome because every element in the json will be STRING format and when we try to write to bigquery it fails unless there's a type cast from within Java.
Is there any preferred typed flat-file format we could use for small batches, so that when we transfer using pub/sub, we would retain type information at a record level?