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


The following commit(s) were added to refs/heads/array-type by this push:
     new 8278759  [feature-wip][array-type] Fix compilation error. (#8422)
8278759 is described below

commit 82787594d94d5a2645e6ba36874300c2eb13b4db
Author: Adonis Ling <adonis0...@gmail.com>
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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to