dttung2905 commented on code in PR #41: URL: https://github.com/apache/terraform-provider-iceberg/pull/41#discussion_r3375817486
########## docs/data-sources/table.md: ########## @@ -0,0 +1,115 @@ +--- +page_title: "iceberg_table Data Source - Iceberg" +subcategory: "" +description: |- + Reads metadata for an existing Iceberg table from the catalog. +--- + +<!-- + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + --> + +# iceberg_table (Data Source) + +Reads metadata for an existing Iceberg table from the catalog. + +Use this data source to inspect tables created outside Terraform, to reference tables managed in another workspace, or to read the current catalog state of a table also managed by an [`iceberg_table` resource](../resources/table.md). + +## Example Usage + +### Read a table by namespace and name + +```terraform +// Licensed to the Apache Software Foundation (ASF) under one or more Review Comment: Removed this in the docs :pray: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
