[
https://issues.apache.org/jira/browse/ORC-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501091#comment-16501091
]
ASF GitHub Bot commented on ORC-372:
------------------------------------
Github user majetideepak commented on a diff in the pull request:
https://github.com/apache/orc/pull/277#discussion_r192919379
--- Diff: c++/src/TypeImpl.cc ---
@@ -258,31 +258,34 @@ namespace orc {
case STRUCT: {
StructVectorBatch *result = new StructVectorBatch(capacity,
memoryPool);
+ std::unique_ptr<ColumnVectorBatch> return_value =
std::unique_ptr<ColumnVectorBatch>(result);
--- End diff --
we need `result` of type `StructVectorBatch` to access fields on line 263
> Enable valgrind for C++ travis-ci tests
> ---------------------------------------
>
> Key: ORC-372
> URL: https://issues.apache.org/jira/browse/ORC-372
> Project: ORC
> Issue Type: Improvement
> Reporter: Deepak Majeti
> Assignee: Deepak Majeti
> Priority: Major
>
> It will be useful to run valgrind as part of the travis-ci tests
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)