Skip to content

aws.finspace_data.list_datasets

Example SQL Queries

SELECT * FROM
aws.finspace_data.list_datasets;

Description

Lists all of the active Datasets that a user has access to.

Table Definition

Column NameColumn Data Type
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

alias

The unique resource identifier for a Dataset.

VARCHAR
create_time

The timestamp at which the Dataset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

BIGINT
dataset_arn

The ARN identifier of the Dataset.

VARCHAR
dataset_description

Description for a Dataset.

VARCHAR
dataset_id

An identifier for a Dataset.

VARCHAR
dataset_title

Display title for a Dataset.

VARCHAR
kind

The format in which Dataset data is structured.

  • TABULAR – Data is structured in a tabular format.

  • NON_TABULAR – Data is structured in a non-tabular format.

VARCHAR
last_modified_time

The last time that the Dataset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

BIGINT
owner_info

Contact information for a Dataset owner.

STRUCT(
"name" VARCHAR,
"phone_number" VARCHAR,
"email" VARCHAR
)
Show child fields
owner_info.email

Email address for the Dataset owner.

owner_info.name

The name of the Dataset owner.

owner_info.phone_number

Phone number for the Dataset owner.

schema_definition

Definition for a schema on a tabular Dataset.

STRUCT(
"tabular_schema_config" STRUCT(
"columns" STRUCT(
"data_type" VARCHAR,
"column_name" VARCHAR,
"column_description" VARCHAR
)[],
"primary_key_columns" VARCHAR[]
)
)
Show child fields
schema_definition.tabular_schema_config

The configuration for a schema on a tabular Dataset.

Show child fields
schema_definition.tabular_schema_config.columns[]
Show child fields
schema_definition.tabular_schema_config.columns[].column_description

Description for a column.

schema_definition.tabular_schema_config.columns[].column_name

The name of a column.

schema_definition.tabular_schema_config.columns[].data_type

Data type of a column.

  • STRING – A String data type.

    CHAR – A char data type.

    INTEGER – An integer data type.

    TINYINT – A tinyint data type.

    SMALLINT – A smallint data type.

    BIGINT – A bigint data type.

    FLOAT – A float data type.

    DOUBLE – A double data type.

    DATE – A date data type.

    DATETIME – A datetime data type.

    BOOLEAN – A boolean data type.

    BINARY – A binary data type.

schema_definition.tabular_schema_config.primary_key_columns[]