Skip to content

Conversation

@kaka11chen
Copy link
Contributor

@kaka11chen kaka11chen commented Aug 5, 2024

Proposed changes

Backport #38987.

[Fix] (multi-catalog) Fix not throw error when call close() in hive/iceberg writer.

When the file writer closes(), it will sync buffer to commit. Therefore, sometimes data is written only when close() is called, which can expose some errors. For example, hdfs_file_writer. Therefore, this error needs to be captured in the entire close process.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@kaka11chen
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2024

clang-tidy review says "All clean, LGTM! 👍"

@kaka11chen kaka11chen force-pushed the fix_close_error_in_hive_iceberg_writer branch from 6dee883 to 7d3b175 Compare August 5, 2024 15:00
@kaka11chen
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.40% (9268/25459)
Line Coverage: 27.92% (75798/271502)
Region Coverage: 26.77% (38993/145659)
Branch Coverage: 23.49% (19785/84242)
Coverage Report: http://coverage.selectdb-in.cc/coverage/7d3b175ffd0a40d4589dfbd0b6fc67bdec78c13a_7d3b175ffd0a40d4589dfbd0b6fc67bdec78c13a/report/index.html

@yiguolei yiguolei merged commit 70a518e into apache:branch-2.1 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants