Skip to content

Commit

Permalink
[GLUTEN-3732][VL] Remove deprecated API used for FileWriter::Open (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzhg authored Dec 1, 2023
1 parent d2980b7 commit c531abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/core/operators/writer/ArrowWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ arrow::Status ArrowWriter::initWriter(arrow::Schema& schema) {
// Create a writer
std::shared_ptr<arrow::io::FileOutputStream> outfile;
ARROW_ASSIGN_OR_RAISE(outfile, arrow::io::FileOutputStream::Open(path_));
ARROW_RETURN_NOT_OK(
parquet::arrow::FileWriter::Open(schema, arrow::default_memory_pool(), outfile, props, arrowProps, &writer_));
ARROW_ASSIGN_OR_RAISE(
writer_, parquet::arrow::FileWriter::Open(schema, arrow::default_memory_pool(), outfile, props, arrowProps));
return arrow::Status::OK();
}

Expand Down

0 comments on commit c531abd

Please sign in to comment.