Data Types: Manual

If you want to retain control over data types for each column in your table, you can use Manual option in the Data Types dropdown. The down side is that you need to define the data type for each column separately so if you have many columns in your table, it can get really tedious.

Manual

You can set these data types:

  1. STRING
  2. INTEGER
  3. FLOAT
  4. NUMERIC
  5. BOOLEAN
  6. TIMESTAMP
  7. DATE
  8. TIME
  9. DATETIME

There are couple things to keep in mind:

  1. Your data needs to be very coherent. If you set a column to INTEGER and one cell will actually be STRING, the upload will fail. Basically, if you say a column is INTEGER, then all values in the column really need to be INTEGERs.
  2. If you have a column with messy data (e. g. a mix of STRINGs, DATEs, and INTEGERs), use STRING.
  3. Your date columns need to be formatted in a supported format which BigQuery accepts. Read more here.
  4. Your datetime columns need to be formatted in a supported format which BigQuery accepts. Read more here.

We always try to make everything as easy as possible but in case of date and datetime, the rules around formatting are very strict and we all have to follow BigQuery guidelines. If you don’t feel like formatting your dates, you can still use STRING and then you can do CASTing in BigQuery.

Back to Help Center  Buy License Now

2 thoughts on “Data Types: Manual

  1. Pingback: How to Run Your First Upload – Mythical Reports

  2. Pingback: BigQuery Uploader for Google Sheets 2.0: What’s Changing? – Mythical Reports

Leave a Reply

Your email address will not be published. Required fields are marked *