我正在尝试运行以下查询,但始终收到“错误:意外。请重试”:from ( select * from mediacloud.ssw_2011_11_14_2011_11_20, mediacloud.ssw_2011_11_21_2011_11_27 ) on ssw.stories_id = ssw_q.stories_id
g
我有一个事实数据表,其中包含5000万条由Posting_Date_New分区的名为AccountLines的记录。当我过滤特定分区列上的记录时,我的查询可以正常工作,并且只扫描给定范围内的有限数据。但当我在Posting_Date_New列的基础上与维度表进行连接,并根据财务年度进行过滤时,它会扫描整个表。我该如何解决这个问题?我需要将我的事实表与维度表连接起来,并在维度表的列上进行过滤,而无需扫描整个表。请帮帮忙。--查询完成(已过5.542秒,已处理244.37 MB )
select ah.ChargeGroup, sum(Amount) Amount from SS
我需要从Google-BigQuery中的一个视图表中获取数据,并且我在我的应用程序中使用了google-cloud-bigquery gem。下面是我如何查询google-bigquery(ruby代码)
bigquery = Google::Cloud::Bigquery.new(<necessary credentials for the
Google engineers monitor and answer questions on Stack Overflow, with the tag google-bigquery:Please include a brief description of the steps that led to this issue, as well