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 +4 -4
- data/lib/google/cloud/bigquery.rb +3 -2
- data/lib/google/cloud/bigquery/convert.rb +2 -0
- data/lib/google/cloud/bigquery/dataset.rb +2 -0
- data/lib/google/cloud/bigquery/load_job.rb +1 -0
- data/lib/google/cloud/bigquery/table.rb +2 -0
- data/lib/google/cloud/bigquery/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e5f8cd4bec22402de2b7233c3c4ba9a7d92ff7fc84ee370387412377b32c94e
|
|
4
|
+
data.tar.gz: 2e102a74a171421dcb0115edd647e32d84bb603cf5c15cc90198028346d7a6f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/)
|
|
305
|
-
# [Avro](http://avro.apache.org/),
|
|
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`.
|
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.
|
|
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-
|
|
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
|