REPLACE JAR
Description
Replaces an existing JAR file with a new version.
Note that the SQL statement does not end with ;
Syntax
REPLACE JAR `<name>`
WITH 'key1' = 'value1', 'key2' = 'value2' ....
Example
REPLACE JAR `my-custom-transformer`
WITH 's3.path' = 's3://my-bucket/path/to/my-transformer-v2.jar'
Required parameters
<name>: Name of the existing JAR file to replace.
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 does not exist.