I am trying to remove the requirement to filter over the partition column in a BigQuery partitioned table. The answer presented here does not seem to work: the query runs, shows the result
"This statement altered the table named project:dataset.table"
There is even a button to go to the table, but it still requires a partition filter.
EDIT: Including table configurations and the query used
Data location: US
Table type: Partitioned
Partitioned by: Day
Partitioned on field: date
Partition filter :Required
Clustered by: column_name1, column_name2, column_name3
I tried both the query exactly as provided in the answer:
ALTER TABLE IF EXISTS dataset.table
SET OPTIONS(
require_partition_filter = false
)
and also
ALTER TABLE dataset.table
SET OPTIONS(
require_partition_filter = false
)
For the second one, for example, i have the following information in my query history:
Query succeeded
Query completed in 0.159 sec
Job ID: job_id
User: user
Location: United States (US)
Creation time: creation_time
Start time: start_time
End time: end_time
Duration: 0.2 sec
Bytes processed: 0 B
Bytes billed :0 B
Job priority: INTERACTIVE
Destination table: project:dataset.table
Write preference:
Use legacy SQL: false
"project", "dataset", "table", "job_id","user", "creation_time", "start_time", "end_time" have been replaced
Any help?