ADD Statements #
With Hive dialect, the following ADD
statements are supported for now:
- ADD JAR
ADD JAR #
Description #
ADD JAR
statement is used to add user jars into the classpath.
Add multiple jars file in single ADD JAR
statement is not supported.
Syntax #
ADD JAR filename;
Parameters #
-
filename
The name of the JAR file to be added. It could be either on a local file or distributed file system.
Examples #
-- add a local jar
ADD JAR t.jar;
-- add a remote jar
ADD JAR hdfs://namenode-host:port/path/t.jar