Интервал расписания набора данных Bigquery crashlytics - PullRequest
0 голосов
/ 24 февраля 2020

В настоящее время мы изучаем Firebase <> BigQuery (без песочницы). Мы подключили один из наших проектов с помощью интеграции с Firebase и собрали данные за несколько дней.

Только данные всегда выходной, что имеет смысл, поскольку передача выполняется только каждые 24 часа. Но попытка изменить его с помощью bq cli:

bq update --transfer_config \
  --target_dataset='crashlytics' \
  --schedule='every 2 hours' \
  projects/p/locations/l/transferConfigs/c

приводит к ошибке 400:

Bigquery service returned an invalid reply in update operation: Error reported by server with missing error fields. Server returned: {u'error': {u'status': u'INVALID_ARGUMENT',
u'message': u'Request contains an invalid argument.', u'code': 400}}.

Please make sure you are using the latest version of the bq tool and try again. If this problem persists, you may have encountered a bug in the bigquery client. Please file a bug
report in our public issue tracker:
https://issuetracker.google.com/issues/new?component=187149&template=0
Please include a brief description of the steps that led to this issue, as well as any rows that can be made public from the following information:

========================================
== Platform ==
  CPython:2.7.16:Darwin-19.2.0-x86_64-i386-64bit
== bq version ==
  2.0.53

== Command line ==
  ['/path/bq/bq.py', '--application_default_credential_file', '/path/e@mail.com/adc.json', '--credential_file', '/path/e@email.com/singlestore_bq.json', '--project_id=tde-psv-app', 'update', '--transfer_config', '--target_dataset=crashlytics', '--schedule=every 2 hours', 'projects/p/locations/l/transferConfigs/c']
== UTC timestamp ==
  2020-02-24 08:47:23
== Error trace ==
Traceback (most recent call last):
  File "/path/bq/bq.py", line 1116, in RunSafely
    return_value = self.RunWithArgs(*args, **kwds)
  File "/path/bq/bq.py", line 4615, in RunWithArgs
    schedule_args=schedule_args)
  File "/path/bq/bigquery_client.py", line 3984, in UpdateTransferConfig
    x__xgafv='2').execute()
  File "/path/bq/bigquery_client.py", line 810, in execute
    BigqueryHttp.RaiseErrorFromHttpError(e)
  File "/path/bq/bigquery_client.py", line 788, in RaiseErrorFromHttpError
    BigqueryClient.RaiseError(content)
  File "/path/bq/bigquery_client.py", line 2385, in RaiseError
    raise BigqueryError.Create(error, result, [])
BigqueryInterfaceError: Error reported by server with missing error fields. Server returned: {u'error': {u'status': u'INVALID_ARGUMENT', u'message': u'Request contains an invalid argument.', u'code': 400}}
========================================

Unexpected exception in update operation: Bigquery service returned an invalid reply in update operation: Error reported by server with missing error fields. Server returned:
{u'error': {u'status': u'INVALID_ARGUMENT',
u'message': u'Request contains an invalid argument.', u'code': 400}}.

Please make sure you are using the latest version of the bq tool and try again. If this problem persists, you may have encountered a bug in the bigquery client. Please file a bug
report in our public issue tracker:
https://issuetracker.google.com/issues/new?component=187149&template=0
Please include a brief description of the steps that led to this issue, as well as any rows that can be made public from the following information:

Может сложиться впечатление, что это невозможно для такого рода наборов данных / Проекты Firebase, но мы не можем найти никакого ясного ответа на этот вопрос.

1 Ответ

2 голосов
/ 25 февраля 2020

В настоящее время экспорт данных доступен только один раз в 24 часа. Мы пытаемся изменить это поведение. Пожалуйста, оставайтесь в курсе событий в блоге Firebase для любых объявлений.

...