Skip to main content

tables

Creates, updates, deletes, gets or lists a tables resource.

Overview

Nametables
TypeResource
Idaws.bcm_data_exports.tables

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringThe table description. (pattern: <code>[\S\s]*</code>)
schemaarrayThe schema of the table.
table_namestringThe name of the table. (pattern: <code>[\S\s]*</code>)
table_propertiesobjectTableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_tableselectregionReturns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.
list_tablesselectregionLists all available tables in data exports.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.

SELECT
description,
schema,
table_name,
table_properties
FROM aws.bcm_data_exports.tables
WHERE region = '{{ region }}' -- required
;