-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make CSV block size configurable. #42
Conversation
auto parse_options = arrow::csv::ParseOptions::Defaults(); | ||
auto convert_options = get_arrow_convert_options(utf8_columns, null_value); | ||
parse_options.newlines_in_values = 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.
sneaking this setting in since it came up in my testing, and I don't see why you'd ever want this to be off.
auto msg = "Authentication test for database <" + db_name + | ||
"> failed: " + std::string(e.what()); | ||
auto msg = | ||
"Test for database <" + db_name + "> failed: " + std::string(e.what()); |
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.
maybe include the test name in msg
} | ||
|
||
{ | ||
// succeed when block_size is increased |
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.
nice test!!
The default block size in Arrow CSV reader is 1MB (or so?). This PR makes it configurable in multiples of a megabyte.
Fixes ECO-142