Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


TKCat (version 1.1.12)

write_MergeTree: Write a Clickhouse MergeTree table

Description

Write a Clickhouse MergeTree table

Usage

write_MergeTree(
  con,
  dbName,
  tableName,
  value,
  rtypes = NULL,
  nullable = NULL,
  sortKey = NULL
)

Value

No return value, called for side effects

Arguments

con

the clickhouse connection

dbName

the name of the database

tableName

the name of the table

value

the table to import

rtypes

a named character vector giving the R type of each and every columns. If NULL (default), types are guessed from value.

nullable

a character vector indicating the name of the columns which are nullable (default: NULL)

sortKey

a character vector indicating the name of the columns used in the sort key. If NULL (default), all the non-nullable columns are used in the key.