MINI MINI MANI MO
%
% Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.hiveOptions}
\alias{ore.hiveOptions}
\title{Set HIVE Options}
\description{
Sets HIVE options, namely, field delimiters for the HIVE tables and
the current database name.
}
\usage{
ore.hiveOptions(delim = "\001", dbname, storedAs='textfile',
exeEngine = 'mr')
}
\arguments{
\item{delim}{
A character string specifying the field delimiter for the HIVE tables created by ORCH-HIVE.
}
\item{dbname}{
A character string specifying the HIVE database name for the current session.
}
\item{storedAs}{
A character string specifying the HIVE table storage type for the current session.
}
\item{exeEngine}{
A character string specifying the HIVE execution engine for the current session.
}
}
\details{
Use the \code{delim} argument to configure the separator character between
fields (columns) in the text files corresponding to the HIVE tables.
Use the \code{dbname} argument to set the database name for ORCH-HIVE to
work on. The database must pre-exist otherwise an error is thrown.
This is an environment-level change and once the arguments are set,
they are respected by all the tables created using ORCH-HIVE in the \R session.
}
\author{
Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
\code{\link{ore.showHiveOptions}}
}
\examples{
if (!interactive())
ore.hiveOptions(delim = ",")
}
\keyword{ORE}
OHA YOOOO