Create a table using a template
Stay organized with collections
Save and categorize content based on your preferences.
Create a table using the properties of one table (schema, partitioning, clustering) to create a new empty table with the same configuration.
Code sample
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["This Go code demonstrates how to create a new empty table in BigQuery that mirrors the schema, partitioning, and clustering configuration of an existing source table."],["The code utilizes the `bigquery` package in Go to fetch metadata from a source table, including its schema, clustering, and partitioning properties."],["The code constructs new table metadata for the destination table, incorporating the relevant properties copied from the source table's metadata."],["The example then creates a new table using the properties that were defined, including the description, schema, clustering, and partitioning."]]],[]]