JDBC Driver for Google BigQuery

Build 22.0.8462

JOIN Queries

The driver supports the complete join syntax in Google BigQuery. Google BigQuery supports inner joins, outer joins, and cross joins. The default is inner. Multiple join operations are supported.

SELECT field_1 [..., field_n] FROM
   table_1 [[AS] alias_1]
   table_2 [[AS] alias_2]
  [ON join_condition_1 [... AND join_condition_n]]

Note that the default join is an inner join. The following limitations exist on joins in Google BigQuery:

  • Cross joins must not contain an ON clause.
  • Normal joins require that the right-side table must contain less than 8 MB of compressed data. If you are working with tables larger than 8 MB, use the EACH modifier. Note that EACH cannot be used in cross joins.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462