datetimes not json serializable
freyley opened this issue · 1 comments
freyley commented
Attempting to use push_rows with datetime fields, I get this:
*** TypeError: datetime.datetime(2015, 4, 8, 11, 53, 2, 65490, tzinfo=) is not JSON serializable
tylertreat commented
Yes, you will need to handle converting datetimes to the suitable BigQuery form: https://cloud.google.com/bigquery/preparing-data-for-bigquery?hl=en#datatypes