[英]I can't authenticate Firebase with correct details. Get error: Make sure to initialize the SDK with a service account credential
[英]BigQuery External Table - i can't create anymore - Make sure all fields are correct to continue
與這條替代路線https://www.googlecloudcommunity.com/gc/Cloud-Hub/Unable-to-created-big-query-external-tables-using-GCS-datasets/mp/445577一起工作正常:
We can be able to create the table via the command line using bq mk, CREATE EXTERNAL TABLE in SQL or via api: https://cloud.google.com/bigquery/docs/external-data-cloud-storage#sql
就我而言, SQL 命令行是:
CREATE OR REPLACE EXTERNAL TABLE {project_id}.{dataset_name}.{table_name}(
CODE STRING,
LOAD_AT TIMESTAMP ,
LOAD_TYPE STRING
) OPTIONS (
format = 'CSV',
uris = ['gs://{my_bucket}/{folder}/{filename_suffix}__*.csv'],
skip_leading_rows = 0,
field_delimiter = "|");
谷歌支持頁面上指出了同樣的問題。 請參閱我的評論,您可以使用 DLL 作為解決方法。
CREATE EXTERNAL TABLE project_id.dataset_name.table_name (
x STRING,
y INTEGER,
z STRING,...
)
OPTIONS (
format = GOOGLE_SHEETS,
uris = ['https://url'],
sheet_range='country',
skip_leading_rows= 1
);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.