h2o.save_to_hive: Save contents of this data frame into a Hive table

View source: R/export.R

h2o.save_to_hiveR Documentation

Save contents of this data frame into a Hive table

Description

For example, h2o.save_to_hive(data_frame, "jdbc:hive2://host:10000/database", "table_name") h2o.save_to_hive(data_frame, "jdbc:hive2://host:10000/", "database.table_name", format = "parquet")

Usage

h2o.save_to_hive(
  data,
  jdbc_url,
  table_name,
  format = "csv",
  table_path = NULL,
  tmp_path = NULL
)

Arguments

data

A H2O Frame object to be saved.

jdbc_url

Hive JDBC connection URL.

table_name

Table name into which to store the data. The table must not exist as it will be created

format

Storage format of created Hive table. (default csv, can be csv or parquet)

table_path

If specified, the table will be created as an external table and this is where the data

tmp_path

Path where to store temporary data.


h2o documentation built on May 29, 2024, 4:26 a.m.