Learn R Programming

paws.analytics (version 0.1.11)

athena_get_table_metadata: Returns table metadata for the specified catalog, database, and table

Description

Returns table metadata for the specified catalog, database, and table.

Usage

athena_get_table_metadata(CatalogName, DatabaseName, TableName)

Arguments

CatalogName

[required] The name of the data catalog that contains the database and table metadata to return.

DatabaseName

[required] The name of the database that contains the table metadata to return.

TableName

[required] The name of the table for which metadata is returned.

Value

A list with the following syntax:

list(
  TableMetadata = list(
    Name = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    LastAccessTime = as.POSIXct(
      "2015-01-01"
    ),
    TableType = "string",
    Columns = list(
      list(
        Name = "string",
        Type = "string",
        Comment = "string"
      )
    ),
    PartitionKeys = list(
      list(
        Name = "string",
        Type = "string",
        Comment = "string"
      )
    ),
    Parameters = list(
      "string"
    )
  )
)

Request syntax

svc$get_table_metadata(
  CatalogName = "string",
  DatabaseName = "string",
  TableName = "string"
)