Skip to content

Deserialize StringColumnStatisticsData, handle default value when ave… #193

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

Conversation

avibhstarburst
Copy link
Contributor

…rageLength is null

@cla-bot cla-bot bot added the cla-signed label Apr 11, 2025
if (type == SdkBytes.class) {
sdkField.set(builder, SdkBytes.fromByteArray(fieldValue.binaryValue()));
}
else if (type == StringColumnStatisticsData.class) {
System.out.println("$$$");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove debug logging

Comment on lines 78 to 79
else if (type == StringColumnStatisticsData.class) {
System.out.println("$$$");
Copy link
Member

@Randgalt Randgalt Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this if clause and the tests still pass. Please update the tests so that they fail without this change.

Regardless, we should find a more general solution than special-casing a single model.

@avibhstarburst avibhstarburst marked this pull request as draft April 11, 2025 11:29
@avibhstarburst avibhstarburst force-pushed the avibh/StringColumnStatisticsData_averageLength_default_value branch from cc17bfb to 35fc77b Compare April 12, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants