-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add data frame support #2
Add data frame support #2
Conversation
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.
Looks good to me. Thanks for the changes.
default int intValue() { | ||
throw new RuntimeException("the value isn't Integer type"); | ||
} | ||
|
||
default String stringValue() { | ||
throw new RuntimeException("the value isn't String type"); | ||
} | ||
|
||
default double doubleValue() { | ||
throw new RuntimeException("the value isn't Double type"); | ||
} | ||
|
||
default boolean booleanValue() { | ||
throw new RuntimeException("the value isn't Boolean type"); | ||
} |
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.
Like the pattern here!
} | ||
|
||
@Test | ||
public void read_StringValue() throws IOException { |
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.
Consider beefing up tests for empty strings here, and NULL values here/elsewhere where appropriate.
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.
Thanks. Add empty string check here. Null value isn't allowed for StringValue. Instead, add null check in StringValue UT.
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.
🚀
Description of Changes
Testing
./gradlew build