You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix S3 configuration fields to use Optional<String>
- Change s3_bucket, s3_prefix, s3_region, s3_access_key_id, s3_secret_access_key from String to Optional<String>
- Remove @ConfigDefault("null") annotations as they are not needed for Optional types
- Update usage in transaction method to handle Optional values properly
- Update README.md to clarify that S3 credentials are optional and use default AWS credentials provider chain
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ Snowflake output plugin for Embulk loads records to Snowflake.
34
34
-**s3_bucket**: S3 bucket name for JDBC log upload (string, required when upload_jdbc_log_to_s3 is true)
35
35
-**s3_prefix**: S3 key prefix for JDBC log upload (string, required when upload_jdbc_log_to_s3 is true)
36
36
-**s3_region**: AWS region for S3 bucket (string, required when upload_jdbc_log_to_s3 is true)
37
-
-**s3_access_key_id**: AWS access key ID for S3 access (string, optional - uses IAM role if not specified)
38
-
-**s3_secret_access_key**: AWS secret access key for S3 access (string, optional - uses IAM role if not specified)
37
+
-**s3_access_key_id**: AWS access key ID for S3 access (string, optional - uses default AWS credentials provider chain if not specified)
38
+
-**s3_secret_access_key**: AWS secret access key for S3 access (string, optional - uses default AWS credentials provider chain if not specified)
39
39
-**default_timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp into a SQL string. This default_timezone option is used to control the timezone. You can overwrite timezone for each columns using column_options option. (string, default: `UTC`)
40
40
-**column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
41
41
-**type**: type of a column when this plugin creates new tables (e.g. `VARCHAR(255)`, `INTEGER NOT NULL UNIQUE`). This used when this plugin creates intermediate tables (insert, truncate_insert and merge modes), when it creates the target table (insert_direct and replace modes), and when it creates nonexistent target table automatically. (string, default: depends on input column type. `BIGINT` if input column type is long, `BOOLEAN` if boolean, `DOUBLE PRECISION` if double, `CLOB` if string, `TIMESTAMP` if timestamp)
0 commit comments