Skip to content

Commit

Permalink
[Enhancement] improve error message when partial update (backport #48778
Browse files Browse the repository at this point in the history
) (#48791)

Co-authored-by: Yixin Luo <[email protected]>
  • Loading branch information
mergify[bot] and luohaha authored Jul 23, 2024
1 parent 9f92fa6 commit d8e1fc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions be/src/storage/rowset/horizontal_update_rowset_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ class HorizontalUpdateRowsetWriter final : public RowsetWriter {

Status flush() override;

Status flush_chunk_with_deletes(const Chunk& upserts, const Column& deletes,
SegmentPB* seg_info = nullptr) override {
return Status::NotSupported("Mixed upsert/delete transactions not supported in column mode partial updates");
}

private:
StatusOr<std::unique_ptr<SegmentWriter>> _create_update_file_writer();

Expand Down

0 comments on commit d8e1fc5

Please sign in to comment.