Skip to main content

UPLOAD JAR

Description

Uploads a new JAR file to be used in custom transformations.

Note that the SQL statement does not end with ;

Syntax

UPLOAD JAR `<name>`
WITH 'key1' = 'value1', 'key2' = 'value2' ....

Example

UPLOAD JAR `my-custom-transformer`
WITH 's3.path' = 's3://my-bucket/path/to/my-transformer.jar'

Required parameters

  • <name>: Unique name to identify the JAR file.

Special parameters

Include special parameters after WITH as type String.

  • s3.path: Specify the path of an existing JAR file in S3 to upload. Include this for AWS projects only.
  • gcs.path: Specify the path of an existing JAR file in GCS to upload. Include this for GCP projects only.

Error conditions

  • Fails if a JAR with the name already exists.
  • Fails if a class included in the JAR already exists.