I have created one bgquery table with partition in date field and clustered in id field. I have used terraform to create the table. But when I try to insert data in the table , I am getting error as :
com.google.cloud.bigquery.BigQueryException: Incompatible table partitioning specification. Expects partitioning specification interval(type:day,field:forecast_start) clustering(customer_id), but input partitioning specification is interval(type:day,field:forecast_start)
Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request 17:00:01 { 17:00:01 "code" : 400, 17:00:01 "errors" : [ { 17:00:01 "domain" : "global", 17:00:01 "message" : "Incompatible table partitioning specification. Expects partitioning specification interval(type:day,field:forecast_start) clustering(customer_id), but input partitioning specification is interval(type:day,field:forecast_start)", 17:00:01 "reason" : "invalid" 17:00:01 } ], 17:00:01 "message" : "Incompatible table partitioning specification. Expects partitioning specification interval(type:day,field:forecast_start) clustering(customer_id), but input partitioning specification is interval(type:day,field:forecast_start)", 17:00:01 "status" : "INVALID_ARGUMENT"
Any suggestion?