Skip to contents

Write a Clickhouse MergeTree table

Usage

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

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.

Value

No return value, called for side effects