Release Notes: BigQuery Java Library with Breaking Changes + New Character Encoding Support on Load

36 views
Skip to first unread message

Andy "Rufus" Rothfusz

unread,
Dec 15, 2011, 7:09:08 PM12/15/11
to bigquery...@googlegroups.com, bigquery...@googlegroups.com
Hello BigQuery Developers!

Our weekly push to production for BigQuery contains some changes and new features worth your attention:

Breaking Changes to Object Naming (Capitalization), New Java Library

The old Java client library will continue to work but access to the new encoding feature (listed below) will require a new Java client library (version v2-1.3.3-beta).  
With the new library you will find that the capitalization of some objects has changed.  Here are some of the changes most likely to affect you:

OLD: Bigqueryschema

NEW: TableSchema


OLD: Bigqueryfield

NEW: TableFieldSchema


OLD: bigquery.model.Datasetreference;

NEW: bigquery.model.DatasetReference;


OLD: bigquery.model.Jobconfiguration;

NEW: bigquery.model.JobConfiguration;


OLD: bigquery.model.Jobconfigurationload;

NEW: bigquery.model.JobConfigurationLoad;


OLD: bigquery.model.Jobconfigurationquery;

NEW: bigquery.model.JobConfigurationQuery;


OLD: bigquery.model.Jobreference;

NEW: bigquery.model.JobReference;


OLD: bigquery.model.Tablereference;

NEW: bigquery.model.TableReference;


Version v2-1.3.3-beta of the Java library is available here:
  http://code.google.com/p/google-api-java-client/wiki/APIs#BigQuery_API

Python is not affected because it generates its interfaces dynamically and it did not expose these capitalized names.

Support for uploading data encoded as Latin-1 (  ISO-8859-1 )

When you upload files in this character encoding, we will convert them to UTF-8 during the import process.  All internal storage and returned results will continue to use the UTF-8 encoding.

For more information, see http://code.google.com/apis/bigquery/docs/reference/v2/reference.html#resource_jobs.  You can also specify ISO-8859-1 encoding when using the bq command line utility, as announced on December 13th.

We're in the process of testing and documenting more features, so stay tuned for more announcements!

/Rufus
 
Andy "Rufus" Rothfusz | Developer Programs Engineer | Google | San Francisco, CA
Reply all
Reply to author
Forward
0 new messages