Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG: Unhandled ValueError when Bigquery called through io.gbq returns zero rows #10273
Sample code below throws ValueError. Ideally it should return a DataFrame with zero rows.
import pandas as pd #This query returns zero rows query = "SELECT * FROM [publicdata:samples.wikipedia] where timestamp=-9999999" df = pd.io.gbq.read_gbq(query, project_id="my_bigquery_project_id")