I am streaming data into BigQuery using the Python client library. The row of data lands in the BQ streaming buffer just fine, but when I run a query to view it I can only see the first letter of the value I have inserted.
Specifically, I run a snippet of Python like this:
from google.cloud import bigquery
client = bigquery.Client()
dataset_id = 'mydataset'
table_id = 'mytable'
table_ref = client.dataset(dataset_id).table(table_id)
table = client.get_table(table_ref)
rows_to_insert = [(u'testString')]
client.insert_rows(table, rows_to_insert)
Then when I run SELECT * FROM mytable
, the result value I get only has 't' instead of 'testString'
I'm guessing this has something to do with the streaming buffer and should show me the entire value once it has been rewritten in BQ native format. But it would be great if someone could clarify it for me.