時間単位列と整数範囲のパーティション分割テーブルの場合、デコレータで指定されたパーティション ID が、書き込まれるデータと一致する必要があります。たとえば、テーブルが DATE 列でパーティション分割されている場合は、デコレータがその列の値と一致する必要があります。一致していない場合は、エラーが発生します。ただし、データが単一のパーティション内にあることがわかっている場合は、パーティション デコレータを指定することで書き込みパフォーマンスを向上させることができます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-13 UTC。"],[[["\u003cp\u003eData can be loaded into a specific partition of a table using the \u003ccode\u003ebq load\u003c/code\u003e command with a partition decorator, such as \u003ccode\u003e$20160501\u003c/code\u003e for the May 1, 2016 partition.\u003c/p\u003e\n"],["\u003cp\u003eQuery results can be written to a specific partition by using the \u003ccode\u003ebq query\u003c/code\u003e command and specifying the destination table with a partition decorator, along with appropriate flags.\u003c/p\u003e\n"],["\u003cp\u003ePartition decorators can be used with ingestion-time partitioning to load older data into the correct partition or to adjust for time zone differences, by loading the data into a partition reflecting the correct time.\u003c/p\u003e\n"],["\u003cp\u003eFor time-unit column and integer-range partitioned tables, the partition ID specified in the decorator must align with the data being written to avoid errors, although it can improve write performance.\u003c/p\u003e\n"],["\u003cp\u003eData can be appended or overwritten in a partition by adjusting \u003ccode\u003ebq load\u003c/code\u003e or \u003ccode\u003ebq query\u003c/code\u003e flags.\u003c/p\u003e\n"]]],[],null,[]]