Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate file sink when creating instead of when actually sinking data #18228

Closed
lmatz opened this issue Aug 25, 2024 · 1 comment · Fixed by #18707
Closed

validate file sink when creating instead of when actually sinking data #18228

lmatz opened this issue Aug 25, 2024 · 1 comment · Fixed by #18707
Labels
type/bug Something isn't working
Milestone

Comments

@lmatz
Copy link
Contributor

lmatz commented Aug 25, 2024

dev=> CREATE TABLE t (k INT);
CREATE_TABLE
dev=> CREATE SINK file_sink
dev-> FROM
dev->   t
dev-> WITH
dev-> (
dev(>   connector = 's3',
dev(>   s3.region_name = 'us-east-1',
dev(>   s3.bucket_name = 'test',
dev(>   s3.path = '',
dev(>   s3.file_type = 'parquet',
dev(>   type = 'append-only',
dev(>   force_append_only='true'
dev(> ) FORMAT PLAIN ENCODE PARQUET(force_append_only='true');
CREATE_SINK

Everything shows ok until

insert into t values (1);

then shows in the log that:

ERROR risingwave_connector::sink::file_sink::s3: secret access key of aws s3 is not set, bucket  test
@github-actions github-actions bot added this to the release-2.1 milestone Aug 25, 2024
@lmatz
Copy link
Contributor Author

lmatz commented Aug 26, 2024

#18159

@lmatz lmatz added the type/bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant