DraftDataset

@Order(value = 1)
@Summary(value = "Draft a dataset from a table")
@CommandRoute(action = "draft", method = CommandRoute.Method.POST, appendIdPath = CommandRoute.AppendPath.ALWAYS)
data class DraftDataset(val id: String, val table: String, val source: String? = null)

Drafts the dataset id ({context}.{dataset}) from table: the server reads the table's columns and declares what they prove (types, nullability, dates, string arrays), suggests the scope and identity from conventional column names, and leaves sensitivity to the review.

Constructors

Link copied to clipboard
constructor(id: String, table: String, source: String? = null)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard

The named source the table lives in, such as a ClickHouse server of wow.query.clickhouse.sources; the default one when null.

Link copied to clipboard

database.table, or a table of the source's default database.