Skip to content

Commit

Permalink
fix orc build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Jun 29, 2021
1 parent a4e1dc8 commit 1b2ba51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/src/io/data_parser/ArgsUtil.cpp
Expand Up @@ -112,7 +112,7 @@ cudf::io::orc_reader_options getOrcReaderOptions(const std::map<std::string, std

cudf::io::orc_reader_options reader_opts = cudf::io::orc_reader_options::builder(cudf::io::source_info{&arrow_source});
if(map_contains("stripes", args)) {
reader_opts.set_stripes(to_vector_int(args.at("stripes")));
reader_opts.set_stripes({to_vector_int(args.at("stripes"))});
}
if(map_contains("skiprows", args)) {
reader_opts.set_skip_rows(to_int(args.at("skiprows")));
Expand Down
2 changes: 1 addition & 1 deletion engine/src/io/data_parser/OrcParser.cpp
Expand Up @@ -41,7 +41,7 @@ std::unique_ptr<ral::frame::BlazingTable> orc_parser::parse_batch(
}

orc_opts.set_columns(col_names);
orc_opts.set_stripes(row_groups);
orc_opts.set_stripes({row_groups});

auto result = cudf::io::read_orc(orc_opts);

Expand Down

0 comments on commit 1b2ba51

Please sign in to comment.