我無法從BigQuery
訪問GitHub時間軸。如何從BigQuery中提取github時間軸數據
我用下面的查詢:
SELECT repository_name, actor_attributes_company, payload_ref_type, payload_action, type, created_at FROM githubarchive:github.timeline WHERE repository_organization = 'foo' and created_at > '2014-07-01'
,一切是偉大的工作。現在,它看起來像githubarchive:github.timeline表不再可用。我一直環顧四周,我發現了另一個表:
SELECT repository_name, actor_attributes_company, payload_ref_type, payload_action, type, created_at FROM publicdata:samples.github_timeline WHERE repository_organization = 'foo' and created_at > '2014-07-01'
這個查詢工作,但返回零行。當我刪除created_at限制它工作,但只從2012年返回幾行,因此它看起來像這只是示例數據。
有誰知道如何從GitHub提取實時時間線數據?
好的,謝謝。你能確認githubarchive:github.timeline已被刪除嗎?這真是我問題的核心。 –
已經有一些重大的變動https://medium.com/google-cloud/github-archive-fully-updated-notice-some-breaking-changes-64e7e7cd0967。 –