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

  1. ADD JAR <jar_path>;

Parameters

  • jar_path

    The path of the JAR file to be added. It could be either on a local file or distributed file system.

Examples

  1. -- add a local jar
  2. ADD JAR t.jar;
  3. -- add a remote jar
  4. ADD JAR hdfs://namenode-host:port/path/t.jar