class Google::Cloud::Bigquery::External::ParquetSource
data = data.next if data.next?
# Retrieve the next page of results
end
puts row[:name]
data.each do |row|
# Iterate over the first page of results
external: { my_ext_table: parquet_table }
data = bigquery.query “SELECT * FROM my_ext_table”,
end
parquet.enable_list_inference = 1
parquet_table = bigquery.external parquet_url do |parquet|
parquet_url = “gs://bucket/path/to/data.parquet”
bigquery = Google::Cloud::Bigquery.new
require “google/cloud/bigquery”
@example
data source.
of loading or streaming the data, this object references the external
from directly, even though the data is not stored in BigQuery. Instead
represents a Parquet external data source that can be queried
{External::ParquetSource} is a subclass of {External::DataSource} and
# ParquetSource
#
def enable_list_inference
-
(Boolean)-
def enable_list_inference @gapi.parquet_options.enable_list_inference end
def enable_list_inference= new_enable_list_inference
-
new_enable_list_inference(Boolean) -- The new `enable_list_inference` value.
def enable_list_inference= new_enable_list_inference frozen_check! @gapi.parquet_options.enable_list_inference = new_enable_list_inference end
def enum_as_string
-
(Boolean)-
def enum_as_string @gapi.parquet_options.enum_as_string end
def enum_as_string= new_enum_as_string
-
new_enum_as_string(Boolean) -- The new `enum_as_string` value.
def enum_as_string= new_enum_as_string frozen_check! @gapi.parquet_options.enum_as_string = new_enum_as_string end
def initialize
- Private: - Create an empty ParquetSource object.
def initialize super @gapi.parquet_options = Google::Apis::BigqueryV2::ParquetOptions.new end