Skip to content

Creates a Dataview for a Dataset

Description

Creates a Dataview for a Dataset.

Usage

finspacedata_create_data_view(clientToken, datasetId, autoUpdate,
  sortColumns, partitionColumns, asOfTimestamp, destinationTypeParams)

Arguments

  • clientToken

    A token that ensures idempotency. This token expires in 10 minutes.

  • datasetId

    [required] The unique Dataset identifier that is used to create a Dataview.

  • autoUpdate

    Flag to indicate Dataview should be updated automatically.

  • sortColumns

    Columns to be used for sorting the data.

  • partitionColumns

    Ordered set of column names used to partition data.

  • asOfTimestamp

    Beginning time to use for the Dataview. 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.

  • destinationTypeParams

    [required] Options that define the destination type for the Dataview.

Value

A list with the following syntax:

list(
  datasetId = "string",
  dataViewId = "string"
)

Request syntax

svc$create_data_view(
  clientToken = "string",
  datasetId = "string",
  autoUpdate = TRUE|FALSE,
  sortColumns = list(
    "string"
  ),
  partitionColumns = list(
    "string"
  ),
  asOfTimestamp = 123,
  destinationTypeParams = list(
    destinationType = "string",
    s3DestinationExportFileFormat = "PARQUET"|"DELIMITED_TEXT",
    s3DestinationExportFileFormatOptions = list(
      "string"
    )
  )
)