-
Notifications
You must be signed in to change notification settings - Fork 57
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-1764301 Iceberg parquet file configuration #874
Conversation
@@ -89,6 +95,8 @@ public ClientBufferParameters(SnowflakeStreamingIngestClientInternal clientInter | |||
clientInternal != null | |||
? clientInternal.getInternalParameterProvider().isEnableValuesCount() | |||
: InternalParameterProvider.ENABLE_VALUES_COUNT_DEFAULT; | |||
this.enableDictionaryEncoding = |
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.
Not very satisfied by how there's now a proliferation of places that control runtime behavior :(
There's ParameterProvider, internalParameterProvider, clientBuferParameters, and some completely unnecesary defaulting for when clientInternal is null (it should never be not even in tests).
Tried to come up with a better answer but nothing that sticks and is relevant to your current PR.
As a followup whenever you have time i'd suggest first removing the null defaulting, remove the "isTestMode" thing from everywhere (fully doable after a round of changes I did for the ExternalVolume class). Lets see how things look after these two!
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.
0eb347a
to
422ac86
Compare
This PR includes following change: