Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google bigquery 来自github的订阅者名称_Google Bigquery - Fatal编程技术网

Google bigquery 来自github的订阅者名称

Google bigquery 来自github的订阅者名称,google-bigquery,Google Bigquery,我正在试验大查询。到目前为止,我已经能够获得观看存储库的人数。是否可以获取观看存储库的订阅者的用户名 谢谢您可以使用事件获取回购协议的参与者登录名。从2015年1月1日开始的活动档案记录在事件API中 SELECT actor.login FROM ( TABLE_DATE_RANGE ( [githubarchive:day.events_] , TIMESTAMP('2015-01-01') , TIMESTAMP('2

我正在试验大查询。到目前为止,我已经能够获得观看存储库的人数。是否可以获取观看存储库的订阅者的用户名


谢谢

您可以使用事件获取回购协议的参与者登录名。从2015年1月1日开始的活动档案记录在事件API中

SELECT actor.login FROM (
      TABLE_DATE_RANGE
          ( [githubarchive:day.events_]
          , TIMESTAMP('2015-01-01')
          , TIMESTAMP('2015-03-01') )
      ) 
where type='WatchEvent' and repo.name = 'ptrofimov/beanstalk_console'
2014年活动

SELECT actor FROM (
  TABLE_QUERY([githubarchive:month],
    'REGEXP_MATCH(table_id, r"^20140\d")'
  ))
WHERE type = 'WatchEvent' and repository_name='beanstalk_console' and repository_owner='ptrofimov'