繁体   English   中英

从大查询中的数据集中获取超过 50 个表 Ruby

[英]fetch more than 50 tables from dataset in big-query Ruby

我想从大查询数据集中获取所有表,但它只从我的数据集中返回 50 个表,这是我的代码

@dataset_active_tbls.tables 只返回 50 个表

@bigquery = Google::Cloud::Bigquery.new({ :credentials => "../commons/bigquery_cred.json" })

@dataset_active_tbls = @bigquery.dataset "my_dataset"
@dataset_active_tbls.tables

我怎么得到这个

我努力了

@dataset_active_tbls.tables.all

获取该表的所有表和元数据,它解决了我的问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM