1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ZOZOAdvent Calendar 2022

Day 2

BigQueryで絶対にSELECTできないVIEWをつくる その2

Last updated at Posted at 2022-12-01

Partition filterがRequiredなテーブルを作成して、

スクリーンショット_2022-11-18_20_38_56.png

そのフィールドに対するWHERE句の存在しないVIEWを作成すると、

create view ill_formed_view2 as
select * from require_partition_filter_table;

どうやっても以下のエラーが発生してSELECTできません。

Cannot query over table '<project_id>.<dataset_id>.require_partition_filter_table' without a filter over column(s) 'hoge' that can be used for partition elimination
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?