You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/04/07 09:05:00 UTC
[jira] [Resolved] (ARROW-8353) [C++] is_nullable maybe not
initialized in parquet writer
[ https://issues.apache.org/jira/browse/ARROW-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-8353.
-----------------------------------
Fix Version/s: 0.17.0
Resolution: Fixed
Issue resolved by pull request 6853
[https://github.com/apache/arrow/pull/6853]
> [C++] is_nullable maybe not initialized in parquet writer
> ---------------------------------------------------------
>
> Key: ARROW-8353
> URL: https://issues.apache.org/jira/browse/ARROW-8353
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Neal Richardson
> Assignee: Wes McKinney
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.17.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> From the Rtools build:
> {code}
> [ 84%] Building CXX object src/parquet/CMakeFiles/parquet_static.dir/column_reader.cc.obj
> In file included from D:/a/arrow/arrow/cpp/src/arrow/io/concurrency.h:23:0,
> from D:/a/arrow/arrow/cpp/src/arrow/io/memory.h:25,
> from D:/a/arrow/arrow/cpp/src/parquet/platform.h:25,
> from D:/a/arrow/arrow/cpp/src/parquet/arrow/writer.h:23,
> from D:/a/arrow/arrow/cpp/src/parquet/arrow/writer.cc:18:
> D:/a/arrow/arrow/cpp/src/arrow/result.h: In member function 'virtual arrow::Status parquet::arrow::FileWriterImpl::WriteColumnChunk(const std::shared_ptr<arrow::ChunkedArray>&, int64_t, int64_t)':
> D:/a/arrow/arrow/cpp/src/arrow/result.h:428:28: warning: 'is_nullable' may be used uninitialized in this function [-Wmaybe-uninitialized]
> auto result_name = (rexpr); \
> ^
> D:/a/arrow/arrow/cpp/src/parquet/arrow/writer.cc:430:10: note: 'is_nullable' was declared here
> bool is_nullable;
> ^
> {code}
> I'd give it a default value, but IDK that it's that simple.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)