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

morningman pushed a commit to branch array-type
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit 76231c273504693771d2c932ee6b2673c8e3c5a2
Author: Adonis Ling <[email protected]>
AuthorDate: Thu Mar 10 12:51:27 2022 +0800

    [feature-wip][array-type] Fix compilation error. (#8422)
---
 be/src/util/array_parser.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/array_parser.hpp b/be/src/util/array_parser.hpp
index 746695a..83ef7da 100644
--- a/be/src/util/array_parser.hpp
+++ b/be/src/util/array_parser.hpp
@@ -92,7 +92,7 @@ private:
             } else if (!_is_type_valid<Encoding>(it, item_type)) {
                 return Status::RuntimeError("Failed to parse the json to 
array.");
             }
-            AnyVal* val;
+            AnyVal* val = nullptr;
             Status status = _parse<Encoding>(&val, context, it, 
child_type_desc);
             if (!status.ok()) {
                 return status;

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

Reply via email to