This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new e1dca135b48 branch-4.0: [fix](ubsan) fix ub error of uninitialized 
variable #56854 (#56856)
e1dca135b48 is described below

commit e1dca135b487b23079ad21263f722f41e068e6e7
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Sun Oct 12 11:53:32 2025 +0800

    branch-4.0: [fix](ubsan) fix ub error of uninitialized variable #56854 
(#56856)
    
    bp #56854
---
 be/src/pipeline/exec/result_sink_operator.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/pipeline/exec/result_sink_operator.h 
b/be/src/pipeline/exec/result_sink_operator.h
index 2e4cd97bada..a7911a63b95 100644
--- a/be/src/pipeline/exec/result_sink_operator.h
+++ b/be/src/pipeline/exec/result_sink_operator.h
@@ -47,8 +47,8 @@ struct ResultFileOptions {
     std::vector<TParquetSchema> parquet_schemas;
     TParquetCompressionType::type parquet_commpression_type;
     TParquetVersion::type parquet_version;
-    bool parquert_disable_dictionary;
-    bool enable_int96_timestamps;
+    bool parquert_disable_dictionary = false;
+    bool enable_int96_timestamps = false;
     //note: use outfile with parquet format, have deprecated 9:schema and 
10:file_properties
     //But in order to consider the compatibility when upgrading, so add a bool 
to check
     //Now the code version is 1.1.2, so when the version is after 1.2, could 
remove this code.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to