-
Notifications
You must be signed in to change notification settings - Fork 99
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
SNOW-1728002 get rid of reflection when enabling iceberg streaming #995
SNOW-1728002 get rid of reflection when enabling iceberg streaming #995
Conversation
// TODO should be replaced by SnowflakeStreamingIngestClientFactory.builder.setIceberg(true) | ||
// call in SNOW-1728002 | ||
this.parameterOverrides.put("enable_iceberg_streaming", "true"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way the param is set in IcebergIngestionIT setUp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no enum for "enable_iceberg_streaming" in ingest-sdk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found one. Please try: ParameterProvider.ENABLE_ICEBERG_STREAMING
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally please remove the TODO comment and add SNOW-1728002
to the PR name. This is everything that needs to be done in scope of this JIRA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found one. Please try: ParameterProvider.ENABLE_ICEBERG_STREAMING
I had to update ingest-sdk for it.
Additionally please remove the TODO comment and add SNOW-1728002 to the PR name. This is everything that needs to be done in scope of this JIRA.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I used variable from ParameterProvider it fails to compile, I think ingest-sdk 3.0.0 is not yet available
27e973f
to
ff4f353
Compare
Overview
related to SNOW-1728002
It's temporary approach. Finally we will set iceberg mode by invoking SnowflakeStreamingIngestClientFactory.builder.setIceberg(true) but the method is not yet public.
Pre-review checklist
snowflake.ingestion.method
.Yes
- Added end to end and Unit Tests.No
- Suggest why it is not param protected