google-cloud-bigquery 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d79d312ec01c34460988a536e01fe9b32d937cd357baa16275921fa327f5474d
4
- data.tar.gz: 2b24200431e4a883dbb914db75e3b0507f1b3c29d3c0401929772c1c7f4e54a4
3
+ metadata.gz: 0e5f8cd4bec22402de2b7233c3c4ba9a7d92ff7fc84ee370387412377b32c94e
4
+ data.tar.gz: 2e102a74a171421dcb0115edd647e32d84bb603cf5c15cc90198028346d7a6f4
5
5
  SHA512:
6
- metadata.gz: ebf35594fb06f2aadd3a60de6dd44218c5e87e91ef4c735d76f640c36315df1380aa9f69d02f3ca39c89b13a1cbd2808e87c8c9fab33cb9cda588843797ae692
7
- data.tar.gz: c2a19edf84a43c4c6f2cbc6e99145acf8db20a8385ce4a8e5553203811270f49dcd940ae234b192073800b2da20fb1930fe93474578fe36fd5325fb32335afb4
6
+ metadata.gz: ff7105818d9ea95100fb85f64b6158a812c46875f7486c1aa159fc7cd1e53f3a466bc7fc74ae75c08a6a67e2afd97d5ac26f584a179ac4882ab5c9b03ca3abb2
7
+ data.tar.gz: d4d657b44eca87899820b86a001cda2bd60314e9f91e5601af6dba29b91aa651ce2584c4dcb6d9d9cd23be644c0bab8584d8145ec1802748f53275bbcc3819d1
@@ -301,8 +301,9 @@ module Google
301
301
  # the [Google Developers Console](https://console.developers.google.com).
302
302
  #
303
303
  # In addition to CSV, data can be imported from files that are formatted as
304
- # [Newline-delimited JSON](http://jsonlines.org/) or
305
- # [Avro](http://avro.apache.org/), or from a Google Cloud Datastore backup.
304
+ # [Newline-delimited JSON](http://jsonlines.org/),
305
+ # [Avro](http://avro.apache.org/), [Parquet](https://parquet.apache.org/)
306
+ # or from a Google Cloud Datastore backup.
306
307
  # It can also be "streamed" into BigQuery.
307
308
  #
308
309
  # ### Streaming records
@@ -310,6 +310,7 @@ module Google
310
310
  "json" => "NEWLINE_DELIMITED_JSON",
311
311
  "newline_delimited_json" => "NEWLINE_DELIMITED_JSON",
312
312
  "avro" => "AVRO",
313
+ "parquet" => "PARQUET",
313
314
  "datastore" => "DATASTORE_BACKUP",
314
315
  "backup" => "DATASTORE_BACKUP",
315
316
  "datastore_backup" => "DATASTORE_BACKUP"
@@ -340,6 +341,7 @@ module Google
340
341
  return "CSV" if path.end_with? ".csv"
341
342
  return "NEWLINE_DELIMITED_JSON" if path.end_with? ".json"
342
343
  return "AVRO" if path.end_with? ".avro"
344
+ return "PARQUET" if path.end_with? ".parquet"
343
345
  return "DATASTORE_BACKUP" if path.end_with? ".backup_info"
344
346
  nil
345
347
  end
@@ -1182,6 +1182,7 @@ module Google
1182
1182
  # * `csv` - CSV
1183
1183
  # * `json` - [Newline-delimited JSON](http://jsonlines.org/)
1184
1184
  # * `avro` - [Avro](http://avro.apache.org/)
1185
+ # * `parquet` - [Parquet](https://parquet.apache.org/)
1185
1186
  # * `datastore_backup` - Cloud Datastore backup
1186
1187
  # @param [String] create Specifies whether the job is allowed to create
1187
1188
  # new tables. The default value is `needed`.
@@ -1441,6 +1442,7 @@ module Google
1441
1442
  # * `csv` - CSV
1442
1443
  # * `json` - [Newline-delimited JSON](http://jsonlines.org/)
1443
1444
  # * `avro` - [Avro](http://avro.apache.org/)
1445
+ # * `parquet` - [Parquet](https://parquet.apache.org/)
1444
1446
  # * `datastore_backup` - Cloud Datastore backup
1445
1447
  # @param [String] create Specifies whether the job is allowed to create
1446
1448
  # new tables. The default value is `needed`.
@@ -760,6 +760,7 @@ module Google
760
760
  # * `csv` - CSV
761
761
  # * `json` - [Newline-delimited JSON](http://jsonlines.org/)
762
762
  # * `avro` - [Avro](http://avro.apache.org/)
763
+ # * `parquet` - [Parquet](https://parquet.apache.org/)
763
764
  # * `datastore_backup` - Cloud Datastore backup
764
765
  #
765
766
  # @param [String] new_format The new source format.
@@ -1486,6 +1486,7 @@ module Google
1486
1486
  # * `csv` - CSV
1487
1487
  # * `json` - [Newline-delimited JSON](http://jsonlines.org/)
1488
1488
  # * `avro` - [Avro](http://avro.apache.org/)
1489
+ # * `parquet` - [Parquet](https://parquet.apache.org/)
1489
1490
  # * `datastore_backup` - Cloud Datastore backup
1490
1491
  # @param [String] create Specifies whether the job is allowed to create
1491
1492
  # new tables. The default value is `needed`.
@@ -1694,6 +1695,7 @@ module Google
1694
1695
  # * `csv` - CSV
1695
1696
  # * `json` - [Newline-delimited JSON](http://jsonlines.org/)
1696
1697
  # * `avro` - [Avro](http://avro.apache.org/)
1698
+ # * `parquet` - [Parquet](https://parquet.apache.org/)
1697
1699
  # * `datastore_backup` - Cloud Datastore backup
1698
1700
  # @param [String] create Specifies whether the job is allowed to create
1699
1701
  # new tables. The default value is `needed`.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigquery
19
- VERSION = "1.3.0".freeze
19
+ VERSION = "1.4.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-05 00:00:00.000000000 Z
12
+ date: 2018-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core