title: storing dense vectors in google bigquery table schema
body: <p>I am creating a bigquery dataset to store dense vectors that represent users (generated from a machine learning algorithm). The vectors could have any length and will always contain float32's.</p>
  
  <p>What is the smart way to structure my schema for this? This is what I have right now:</p>
  
  <pre><code>schema = [
      bigquery.SchemaField('user_id', 'INTEGER', mode='REQUIRED'),
      bigquery.SchemaField('embeddings', 'record', mode='REPEATED', fields=[
          bigquery.SchemaField('embedding', 'record', mode='REPEATED', fields=[
              bigquery.SchemaField('index', 'INTEGER', mode='REQUIRED'),
              bigquery.SchemaField('value', 'FLOAT', mode='REQUIRED')
          ]),
          bigquery.SchemaField('timestamp', 'TIMESTAMP', mode='REQUIRED'),
      ]),
  ]
  </code></pre>