Dataset.buildQuery() currently hardcodes + '.csv?' to the end of the query string. This simplifies the read_csv() logic in .asNumpy/.asPandas, but we need to support more formats than just CSV. Users should have the option to specify the format.
Something like dataset.suffix('json') or dataset.buildQuery(suffix='json')?
Dataset.buildQuery()currently hardcodes+ '.csv?'to the end of thequerystring. This simplifies theread_csv()logic in.asNumpy/.asPandas, but we need to support more formats than just CSV. Users should have the option to specify the format.Something like
dataset.suffix('json')ordataset.buildQuery(suffix='json')?