該文檔證明可以將超過 7 天(且不超過 1 年)的數據插入分區表。但每當我嘗試使用 Go BigQuery Client 流式傳輸一個月前的數據時,它都會返回一個錯誤:“您只能流式傳輸到相對于當前日期過去 7 天和未來 3 天內的日期范圍?!比绾问褂?Go 客戶端流式傳輸超過 7 天的數據?編輯 1:這是表模式:bigquery.TableMetadata{ Schema: bigquery.Schema{ {Name: "page_id", Required: true, Type: bigquery.IntegerFieldType}, {Name: "user_id", Required: false, Type: bigquery.IntegerFieldType}, {Name: "hit_time", Required: true, Type: bigquery.TimestampFieldType}, }, TimePartitioning: &bigquery.TimePartitioning{Field: "hit_time", RequirePartitionFilter: true},}
- 1 回答
- 0 關注
- 129 瀏覽
添加回答
舉報
0/150
提交
取消