Skip to content

Instantly share code, notes, and snippets.

@dburkhardt
Created August 27, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dburkhardt/25c673fad3d403bebb1e1c211f72ebbd to your computer and use it in GitHub Desktop.
Save dburkhardt/25c673fad3d403bebb1e1c211f72ebbd to your computer and use it in GitHub Desktop.
Parquet build failure
==> Making package: parquet-cpp 1.4.0-1 (Mon 27 Aug 2018 02:17:39 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found apache-parquet-cpp-1.4.0.tar.gz
==> Validating source files with sha256sums...
apache-parquet-cpp-1.4.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting apache-parquet-cpp-1.4.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
clang-tidy found at /usr/bin/clang-tidy
clang-format not found
-- Compiler id: GNU
Selected compiler gcc 8.2.0
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- regex
-- Boost include dir: /usr/include
-- Boost libraries: /usr/lib/libboost_regex.so
-- THRIFT_HOME: /usr
-- Thrift version: Thrift version 0.11.0
-- Thrift include dir: /usr/include
-- Thrift static library: /usr/lib/libthrift.a
-- Thrift compiler: /usr/bin/thrift
-- Thrift version: Thrift version 0.11.0
-- Arrow include path: /usr/include
-- Found the Arrow library: /usr/lib/libarrow.so
-- CMAKE_CXX_FLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=native -O3 -DNDEBUG -Wall -std=c++11
-- Found cpplint executable at /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/build-support/cpplint.py
-- Configuring done
-- Generating done
-- Build files have been written to: /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/build
[ 4%] Built target thrift-deps
[ 13%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/arrow/reader.cc.o
[ 13%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/arrow/record_reader.cc.o
[ 17%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/arrow/schema.cc.o
[ 21%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/arrow/writer.cc.o
[ 26%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/column_writer.cc.o
[ 30%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/column_reader.cc.o
[ 34%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/column_scanner.cc.o
[ 39%] Building CXX object CMakeFiles/parquet_objlib.dir/src/parquet/file_reader.cc.o
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h: In member function ‘int64_t parquet::TypedColumnReader<DType>::Skip(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> def_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> rep_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:502:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:503:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(rep_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:504:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<T*>(vals->mutable_data()), &values_read);
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h: In member function ‘int64_t parquet::TypedColumnReader<DType>::Skip(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:29: error: ‘PoolBuffer’ in namespace ‘arrow’ does not name a type
using PoolBuffer = ::arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:77:20: note: suggested alternative: ‘Buffer’
using PoolBuffer = ::arrow::PoolBuffer;
^~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> def_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> rep_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:502:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:503:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(rep_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:504:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<T*>(vals->mutable_data()), &values_read);
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:92:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:432:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:440:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> PARQUET_EXPORT AllocateBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:17: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> PARQUET_EXPORT AllocateUniqueBuffer(::arrow::MemoryPool* pool,
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/memory.h:443:27: error: template argument 2 is invalid
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h: In member function ‘int64_t parquet::TypedColumnReader<DType>::Skip(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:180:35: error: ‘PoolBuffer’ has not been declared
void Copy(const T& src, T* dst, PoolBuffer* buffer);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> def_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> rep_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:502:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:503:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(rep_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:504:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<T*>(vals->mutable_data()), &values_read);
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:182:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> min_buffer_, max_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:186:72: error: ‘PoolBuffer’ has not been declared
inline void TypedRowGroupStatistics<DType>::Copy(const T& src, T* dst, PoolBuffer*) {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:192:53: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::TypedRowGroupStatistics<DType>::T = parquet::FixedLenByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:195:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:196:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:197:23: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = FLBA(buffer->data());
^~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:203:58: error: ‘PoolBuffer’ has not been declared
PoolBuffer* buffer) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h: In member function ‘void parquet::TypedRowGroupStatistics<DType>::Copy(const T&, parquet::TypedRowGroupStatistics<DType>::T*, int*) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::TypedRowGroupStatistics<DType>::T = parquet::ByteArray]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:205:32: error: request for member ‘Resize’ in ‘* buffer’, which is of non-class type ‘int’
PARQUET_THROW_NOT_OK(buffer->Resize(src.len, false));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:206:23: error: request for member ‘mutable_data’ in ‘* buffer’, which is of non-class type ‘int’
std::memcpy(buffer->mutable_data(), src.ptr, src.len);
^~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:207:37: error: request for member ‘data’ in ‘* buffer’, which is of non-class type ‘int’
*dst = ByteArray(src.len, buffer->data());
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h: In member function ‘int64_t parquet::TypedColumnReader<DType>::Skip(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> def_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> rep_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:502:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:503:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(rep_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:504:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<T*>(vals->mutable_data()), &values_read);
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/schema.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In member function ‘virtual void parquet::Encoder<DType>::PutSpaced(const T*, int, const uint8_t*, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: error: ‘PoolBuffer’ was not declared in this scope
PoolBuffer buffer(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:53:5: note: suggested alternative: ‘Buffer’
PoolBuffer buffer(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: error: ‘buffer’ was not declared in this scope
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:54:30: note: suggested alternative: ‘Buffer’
::arrow::Status status = buffer.Resize(num_values * sizeof(T));
^~~~~~
Buffer
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h: In member function ‘int64_t parquet::TypedColumnReader<DType>::Skip(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:491:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> vals = AllocateBuffer(
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> def_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:493:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> rep_levels =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:496:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:502:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:503:70: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(rep_levels->mutable_data()),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:504:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<T*>(vals->mutable_data()), &values_read);
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> value_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::Scanner::Scanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: error: ‘PoolBuffer’ was not declared in this scope
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: note: suggested alternative: ‘Buffer’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: template argument 1 is invalid
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::TypedScanner<DType>::TypedScanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:99:39: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(value_buffer_->Resize(batch_size_ * value_byte_size));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:100:49: error: base operand of ‘->’ is not a pointer
values_ = reinterpret_cast<T*>(value_buffer_->mutable_data());
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> value_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::Scanner::Scanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: error: ‘PoolBuffer’ was not declared in this scope
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: note: suggested alternative: ‘Buffer’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: template argument 1 is invalid
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::TypedScanner<DType>::TypedScanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:99:39: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(value_buffer_->Resize(batch_size_ * value_byte_size));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:100:49: error: base operand of ‘->’ is not a pointer
values_ = reinterpret_cast<T*>(value_buffer_->mutable_data());
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseValues();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseValues();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseValues();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> bits_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::PlainEncoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:209:58: error: base operand of ‘->’ is not a pointer
bit_writer_.reset(new ::arrow::BitWriter(bits_buffer_->mutable_data(),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:210:75: error: base operand of ‘->’ is not a pointer
static_cast<int>(bits_buffer_->size())));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual std::shared_ptr<arrow::Buffer> parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:222:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8;
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const bool*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:268:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const bool*, override)
^~~~~~~~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const std::vector<bool>&, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:269:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const std::vector<bool>&, )
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:31:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> byte_array_data_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> bits_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::PlainEncoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:209:58: error: base operand of ‘->’ is not a pointer
bit_writer_.reset(new ::arrow::BitWriter(bits_buffer_->mutable_data(),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:210:75: error: base operand of ‘->’ is not a pointer
static_cast<int>(bits_buffer_->size())));
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)6>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:401:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual std::shared_ptr<arrow::Buffer> parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:222:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8;
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:404:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const bool*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:268:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const bool*, override)
^~~~~~~~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const std::vector<bool>&, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:269:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const std::vector<bool>&, )
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)7>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:421:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:422:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> byte_array_data_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘std::shared_ptr<arrow::Buffer> parquet::DictEncoder<DType>::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)6>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:401:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer =
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:31:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:404:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:517:42: error: base operand of ‘->’ is not a pointer
int result_size = WriteIndices(buffer->mutable_data(),
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:520:32: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(buffer->Resize(result_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:521:12: error: could not convert ‘buffer’ from ‘int’ to ‘std::shared_ptr<arrow::Buffer>’
return buffer;
^~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)7>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:421:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:31:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:422:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘std::shared_ptr<arrow::Buffer> parquet::DictEncoder<DType>::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:517:42: error: base operand of ‘->’ is not a pointer
int result_size = WriteIndices(buffer->mutable_data(),
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:520:32: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(buffer->Resize(result_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:31:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:521:12: error: could not convert ‘buffer’ from ‘int’ to ‘std::shared_ptr<arrow::Buffer>’
return buffer;
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::DeltaBitPackDecoder<DType>::DeltaBitPackDecoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:786:31: error: expected type-specifier before ‘PoolBuffer’
delta_bit_widths_(new PoolBuffer(pool)) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DeltaBitPackDecoder<DType>::InitBlock()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:814:43: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(delta_bit_widths_->Resize(num_mini_blocks_, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:816:48: error: base operand of ‘->’ is not a pointer
uint8_t* bit_width_data = delta_bit_widths_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘int parquet::DeltaBitPackDecoder<DType>::GetInternal(T*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:833:54: error: base operand of ‘->’ is not a pointer
const uint8_t* bit_width_data = delta_bit_widths_->data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:837:68: error: base operand of ‘->’ is not a pointer
if (mini_block_idx_ < static_cast<size_t>(delta_bit_widths_->size())) {
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::DeltaBitPackDecoder<DType>::DeltaBitPackDecoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:786:31: error: expected type-specifier before ‘PoolBuffer’
delta_bit_widths_(new PoolBuffer(pool)) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DeltaBitPackDecoder<DType>::InitBlock()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:814:43: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(delta_bit_widths_->Resize(num_mini_blocks_, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:31:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:816:48: error: base operand of ‘->’ is not a pointer
uint8_t* bit_width_data = delta_bit_widths_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘int parquet::DeltaBitPackDecoder<DType>::GetInternal(T*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:833:54: error: base operand of ‘->’ is not a pointer
const uint8_t* bit_width_data = delta_bit_widths_->data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:837:68: error: base operand of ‘->’ is not a pointer
if (mini_block_idx_ < static_cast<size_t>(delta_bit_widths_->size())) {
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:124:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseValues() {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:124:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseValues() {
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:124:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseValues() {
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:130:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseIsValid() {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:130:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseIsValid() {
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:130:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseIsValid() {
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:331:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
std::shared_ptr<::arrow::PoolBuffer> values_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:331:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> values_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:331:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:331:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> values_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:331:38: error: template argument 1 is invalid
std::shared_ptr<::arrow::PoolBuffer> values_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:338:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
std::shared_ptr<::arrow::PoolBuffer> valid_bits_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:338:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> valid_bits_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:338:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:338:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> valid_bits_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:338:38: error: template argument 1 is invalid
std::shared_ptr<::arrow::PoolBuffer> valid_bits_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:339:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
std::shared_ptr<::arrow::PoolBuffer> def_levels_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:339:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> def_levels_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:339:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:339:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> def_levels_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:339:38: error: template argument 1 is invalid
std::shared_ptr<::arrow::PoolBuffer> def_levels_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:340:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
std::shared_ptr<::arrow::PoolBuffer> rep_levels_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:340:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> rep_levels_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:340:28: error: ‘PoolBuffer’ is not a member of ‘arrow’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:340:28: note: suggested alternative: ‘Buffer’
std::shared_ptr<::arrow::PoolBuffer> rep_levels_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:340:38: error: template argument 1 is invalid
std::shared_ptr<::arrow::PoolBuffer> rep_levels_;
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:27:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In constructor ‘parquet::internal::RecordReader::RecordReaderImpl::RecordReaderImpl(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:71:32: error: ‘PoolBuffer’ was not declared in this scope
values_ = std::make_shared<PoolBuffer>(pool);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:71:32: note: suggested alternative: ‘Buffer’
values_ = std::make_shared<PoolBuffer>(pool);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:71:48: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
values_ = std::make_shared<PoolBuffer>(pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:71:48: error: template argument 1 is invalid
values_ = std::make_shared<PoolBuffer>(pool);
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:72:52: error: no matching function for call to ‘make_shared<PoolBuffer>(arrow::MemoryPool*&)’
valid_bits_ = std::make_shared<PoolBuffer>(pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:73:52: error: no matching function for call to ‘make_shared<PoolBuffer>(arrow::MemoryPool*&)’
def_levels_ = std::make_shared<PoolBuffer>(pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:74:52: error: no matching function for call to ‘make_shared<PoolBuffer>(arrow::MemoryPool*&)’
rep_levels_ = std::make_shared<PoolBuffer>(pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> bits_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:274:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> bits_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::PlainEncoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:209:58: error: base operand of ‘->’ is not a pointer
bit_writer_.reset(new ::arrow::BitWriter(bits_buffer_->mutable_data(),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:210:75: error: base operand of ‘->’ is not a pointer
static_cast<int>(bits_buffer_->size())));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual std::shared_ptr<arrow::Buffer> parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:222:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8;
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘int16_t* parquet::internal::RecordReader::RecordReaderImpl::def_levels() const’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:101:50: error: base operand of ‘->’ is not a pointer
return reinterpret_cast<int16_t*>(def_levels_->mutable_data());
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘int16_t* parquet::internal::RecordReader::RecordReaderImpl::rep_levels()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:105:50: error: base operand of ‘->’ is not a pointer
return reinterpret_cast<int16_t*>(rep_levels_->mutable_data());
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘uint8_t* parquet::internal::RecordReader::RecordReaderImpl::values() const’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:108:43: error: base operand of ‘->’ is not a pointer
uint8_t* values() const { return values_->mutable_data(); }
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘virtual void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const bool*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:268:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const bool*, override)
^~~~~~~~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘int parquet::internal::RecordReader::RecordReaderImpl::ReleaseValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:126:32: error: ‘PoolBuffer’ was not declared in this scope
values_ = std::make_shared<PoolBuffer>(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:126:32: note: suggested alternative: ‘Buffer’
values_ = std::make_shared<PoolBuffer>(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:126:49: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
values_ = std::make_shared<PoolBuffer>(pool_);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:126:49: error: template argument 1 is invalid
values_ = std::make_shared<PoolBuffer>(pool_);
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘int parquet::internal::RecordReader::RecordReaderImpl::ReleaseIsValid()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:132:36: error: ‘PoolBuffer’ was not declared in this scope
valid_bits_ = std::make_shared<PoolBuffer>(pool_);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:132:36: note: suggested alternative: ‘Buffer’
valid_bits_ = std::make_shared<PoolBuffer>(pool_);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:132:53: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
valid_bits_ = std::make_shared<PoolBuffer>(pool_);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:132:53: error: template argument 1 is invalid
valid_bits_ = std::make_shared<PoolBuffer>(pool_);
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::PlainEncoder<parquet::DataType<(parquet::Type::type)0> >::Put(const std::vector<bool>&, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:250:54: error: base operand of ‘->’ is not a pointer
bits_available_ = static_cast<int>(bits_buffer_->size()) * 8; \
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:269:3: note: in expansion of macro ‘PLAINDECODER_BOOLEAN_PUT’
PLAINDECODER_BOOLEAN_PUT(const std::vector<bool>&, )
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::RecordReader::RecordReaderImpl::ReserveLevels(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:215:22: error: base operand of ‘->’ is not a pointer
def_levels_->Resize(new_levels_capacity * sizeof(int16_t), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:218:24: error: base operand of ‘->’ is not a pointer
rep_levels_->Resize(new_levels_capacity * sizeof(int16_t), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::RecordReader::RecordReaderImpl::ReserveValues(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:232:35: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(values_->Resize(new_values_capacity * type_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:237:22: error: base operand of ‘->’ is not a pointer
if (valid_bits_->size() < valid_bytes_new) {
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:239:41: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(valid_bits_->Resize(valid_bytes_new, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:242:27: error: base operand of ‘->’ is not a pointer
memset(valid_bits_->mutable_data() + valid_bytes_old, 0,
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::RecordReader::RecordReaderImpl::Reset()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:262:22: error: base operand of ‘->’ is not a pointer
def_levels_->Resize(levels_remaining * sizeof(int16_t), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:264:22: error: base operand of ‘->’ is not a pointer
rep_levels_->Resize(levels_remaining * sizeof(int16_t), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> byte_array_data_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:373:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> byte_array_data_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::RecordReader::RecordReaderImpl::ResetValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:279:35: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(values_->Resize(0, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:280:39: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(valid_bits_->Resize(0, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)6>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:401:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘T* parquet::internal::RecordReader::RecordReaderImpl::ValuesHead()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:335:40: error: base operand of ‘->’ is not a pointer
return reinterpret_cast<T*>(values_->mutable_data()) + values_written_;
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::TypedRecordReader<DType>::ReadValuesSpaced(int64_t, int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:358:38: error: base operand of ‘->’ is not a pointer
uint8_t* valid_bits = valid_bits_->mutable_data();
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:27:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:404:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘int64_t parquet::internal::TypedRecordReader<DType>::ReadRecordData(int64_t)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:403:22: error: base operand of ‘->’ is not a pointer
valid_bits_->mutable_data(), values_written_);
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DictionaryDecoder<Type>::SetDict(parquet::Decoder<DType>*) [with Type = parquet::DataType<(parquet::Type::type)7>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:421:40: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(byte_array_data_->Resize(total_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:27:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:422:41: error: base operand of ‘->’ is not a pointer
uint8_t* bytes_data = byte_array_data_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::TypedRecordReader<DType>::ReadValuesSpaced(int64_t, int64_t) [with DType = parquet::DataType<(parquet::Type::type)6>; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:545:36: error: base operand of ‘->’ is not a pointer
uint8_t* valid_bits = valid_bits_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: In member function ‘void parquet::internal::TypedRecordReader<DType>::ReadValuesSpaced(int64_t, int64_t) [with DType = parquet::DataType<(parquet::Type::type)7>; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:570:36: error: base operand of ‘->’ is not a pointer
uint8_t* valid_bits = valid_bits_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘std::shared_ptr<arrow::Buffer> parquet::DictEncoder<DType>::FlushValues()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:515:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:517:42: error: base operand of ‘->’ is not a pointer
int result_size = WriteIndices(buffer->mutable_data(),
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:520:32: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(buffer->Resize(result_size, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:27:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:521:12: error: could not convert ‘buffer’ from ‘int’ to ‘std::shared_ptr<arrow::Buffer>’
return buffer;
^~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:778:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> RecordReader::ReleaseValues() {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:778:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> RecordReader::ReleaseValues() {
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:778:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> RecordReader::ReleaseValues() {
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:782:17: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> RecordReader::ReleaseIsValid() {
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: error: ‘PoolBuffer’ was not declared in this scope
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:782:17: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> RecordReader::ReleaseIsValid() {
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:782:27: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> RecordReader::ReleaseIsValid() {
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:19: note: suggested alternative: ‘Buffer’
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 1 is invalid
std::unique_ptr<PoolBuffer> delta_bit_widths_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:867:29: error: template argument 2 is invalid
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In constructor ‘parquet::DeltaBitPackDecoder<DType>::DeltaBitPackDecoder(const parquet::ColumnDescriptor*, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:786:31: error: expected type-specifier before ‘PoolBuffer’
delta_bit_widths_(new PoolBuffer(pool)) {
^~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘void parquet::DeltaBitPackDecoder<DType>::InitBlock()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:814:43: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(delta_bit_widths_->Resize(num_mini_blocks_, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:27:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:816:48: error: base operand of ‘->’ is not a pointer
uint8_t* bit_width_data = delta_bit_widths_->mutable_data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h: In member function ‘int parquet::DeltaBitPackDecoder<DType>::GetInternal(T*, int)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:833:54: error: base operand of ‘->’ is not a pointer
const uint8_t* bit_width_data = delta_bit_widths_->data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding-internal.h:837:68: error: base operand of ‘->’ is not a pointer
if (mini_block_idx_ < static_cast<size_t>(delta_bit_widths_->size())) {
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> value_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:80:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> value_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::Scanner::Scanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: error: ‘PoolBuffer’ was not declared in this scope
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:40: note: suggested alternative: ‘Buffer’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:47:56: error: template argument 1 is invalid
value_buffer_(std::make_shared<PoolBuffer>(pool)),
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.h:28,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h: In constructor ‘parquet::TypedScanner<DType>::TypedScanner(std::shared_ptr<parquet::ColumnReader>, int64_t, arrow::MemoryPool*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:99:39: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(value_buffer_->Resize(batch_size_ * value_byte_size));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:33:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_scanner.h:100:49: error: base operand of ‘->’ is not a pointer
values_ = reinterpret_cast<T*>(value_buffer_->mutable_data());
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In instantiation of ‘int parquet::Decoder<DType>::DecodeSpaced(parquet::Decoder<DType>::T*, int, int, const uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::Decoder<DType>::T = parquet::ByteArray; uint8_t = unsigned char; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:551:24: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:119:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(buffer + values_read, 0, (num_values - values_read) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/schema.h:31,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/types.h:150:8: note: ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’} declared here
struct ByteArray {
^~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In instantiation of ‘int parquet::Decoder<DType>::DecodeSpaced(parquet::Decoder<DType>::T*, int, int, const uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::Decoder<DType>::T = parquet::FixedLenByteArray; uint8_t = unsigned char; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:576:24: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:119:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)7> >::T’ {aka ‘struct parquet::FixedLenByteArray’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(buffer + values_read, 0, (num_values - values_read) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/schema.h:31,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:33,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/types.h:165:8: note: ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)7> >::T’ {aka ‘struct parquet::FixedLenByteArray’} declared here
struct FixedLenByteArray {
^~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:44:14: error: ‘arrow::PoolBuffer’ has not been declared
using arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:112:47: error: ‘PoolBuffer’ was not declared in this scope
const std::shared_ptr<PoolBuffer>& def_levels_scratch,
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:112:47: note: suggested alternative: ‘Buffer’
const std::shared_ptr<PoolBuffer>& def_levels_scratch,
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:112:57: error: template argument 1 is invalid
const std::shared_ptr<PoolBuffer>& def_levels_scratch,
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc: In member function ‘arrow::Status parquet::arrow::{anonymous}::LevelBuilder::GenerateLevels(const arrow::Array&, const std::shared_ptr<arrow::Field>&, int64_t*, int64_t*, int64_t*, const int&, std::shared_ptr<arrow::Buffer>*, std::shared_ptr<arrow::Buffer>*, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:143:31: error: base operand of ‘->’ is not a pointer
def_levels_scratch->Resize(array.length() * sizeof(int16_t), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:145:58: error: base operand of ‘->’ is not a pointer
reinterpret_cast<int16_t*>(def_levels_scratch->mutable_data());
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:159:27: error: no match for ‘operator=’ (operand types are ‘std::shared_ptr<arrow::Buffer>’ and ‘const int’)
*def_levels_out = def_levels_scratch;
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:103:11: note: candidate: ‘std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&) [with _Tp = arrow::Buffer]’
class shared_ptr : public __shared_ptr<_Tp>
^~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:103:11: note: no known conversion for argument 1 from ‘const int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/c++/8.2.0/bits/shared_ptr.h:313:2: note: candidate: ‘template<class _Yp> std::shared_ptr<_Tp>::_Assignable<const std::shared_ptr<_Yp>&> std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Yp>&) [with _Yp = _Yp; _Tp = arrow::Buffer]’
operator=(const shared_ptr<_Yp>& __r) noexcept
^~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:313:2: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:159:27: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const int’
*def_levels_out = def_levels_scratch;
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:324:2: note: candidate: ‘template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::auto_ptr<_Up> > std::shared_ptr<_Tp>::operator=(std::auto_ptr<_Up>&&) [with _Yp = _Yp; _Tp = arrow::Buffer]’
operator=(auto_ptr<_Yp>&& __r)
^~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:324:2: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:159:27: note: mismatched types ‘std::auto_ptr<_Up>’ and ‘const int’
*def_levels_out = def_levels_scratch;
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:333:7: note: candidate: ‘std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Tp>&&) [with _Tp = arrow::Buffer]’
operator=(shared_ptr&& __r) noexcept
^~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:333:7: note: no known conversion for argument 1 from ‘const int’ to ‘std::shared_ptr<arrow::Buffer>&&’
/usr/include/c++/8.2.0/bits/shared_ptr.h:341:2: note: candidate: ‘template<class _Yp> std::shared_ptr<_Tp>::_Assignable<std::shared_ptr<_Yp> > std::shared_ptr<_Tp>::operator=(std::shared_ptr<_Yp>&&) [with _Yp = _Yp; _Tp = arrow::Buffer]’
operator=(shared_ptr<_Yp>&& __r) noexcept
^~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:341:2: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:159:27: note: mismatched types ‘std::shared_ptr<_Tp>’ and ‘const int’
*def_levels_out = def_levels_scratch;
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:349:2: note: candidate: ‘template<class _Yp, class _Del> std::shared_ptr<_Tp>::_Assignable<std::unique_ptr<_Up, _Ep> > std::shared_ptr<_Tp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Yp = _Yp; _Del = _Del; _Tp = arrow::Buffer]’
operator=(unique_ptr<_Yp, _Del>&& __r)
^~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:349:2: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:159:27: note: mismatched types ‘std::unique_ptr<_Tp, _Dp>’ and ‘const int’
*def_levels_out = def_levels_scratch;
^~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:278:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> data_buffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:278:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> data_buffer;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:278:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> data_buffer;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:281:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> def_levels_buffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:281:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> def_levels_buffer;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:281:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> def_levels_buffer;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc: In constructor ‘parquet::arrow::{anonymous}::ColumnWriterContext::ColumnWriterContext(arrow::MemoryPool*, parquet::arrow::ArrowWriterProperties*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:262:42: error: ‘PoolBuffer’ was not declared in this scope
this->data_buffer = std::make_shared<PoolBuffer>(memory_pool);
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:262:42: note: suggested alternative: ‘Buffer’
this->data_buffer = std::make_shared<PoolBuffer>(memory_pool);
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:262:65: error: no matching function for call to ‘make_shared<<expression error> >(arrow::MemoryPool*&)’
this->data_buffer = std::make_shared<PoolBuffer>(memory_pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:262:65: error: template argument 1 is invalid
this->data_buffer = std::make_shared<PoolBuffer>(memory_pool);
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:263:71: error: no matching function for call to ‘make_shared<PoolBuffer>(arrow::MemoryPool*&)’
this->def_levels_buffer = std::make_shared<PoolBuffer>(memory_pool);
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: candidate: ‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp> std::make_shared(_Args&& ...)’
make_shared(_Args&&... __args)
^~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:719:5: note: template argument deduction/substitution failed:
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/io.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/writer.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc: In member function ‘arrow::Status parquet::arrow::{anonymous}::ColumnWriterContext::GetScratchData(int64_t, T**)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:268:36: error: base operand of ‘->’ is not a pointer
RETURN_NOT_OK(this->data_buffer->Resize(num_values * sizeof(T), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/writer.cc:269:50: error: base operand of ‘->’ is not a pointer
*out = reinterpret_cast<T*>(this->data_buffer->mutable_data());
^~
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:142: CMakeFiles/parquet_objlib.dir/src/parquet/column_scanner.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:36:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseValues();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseValues();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:76:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseValues();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/record_reader.h:77:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> ReleaseIsValid();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:127:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> decompression_buffer_;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:127:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> decompression_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:127:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> decompression_buffer_;
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc: In member function ‘virtual std::shared_ptr<parquet::Page> parquet::SerializedPageReader::NextPage()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:192:68: error: base operand of ‘->’ is not a pointer
if (uncompressed_len > static_cast<int>(decompression_buffer_->size())) {
^~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/util/comparison.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:27,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:193:51: error: base operand of ‘->’ is not a pointer
PARQUET_THROW_NOT_OK(decompression_buffer_->Resize(uncompressed_len, false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:197:58: error: base operand of ‘->’ is not a pointer
decompression_buffer_->mutable_data()));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/exception.h:50:27: note: in definition of macro ‘PARQUET_THROW_NOT_OK’
::arrow::Status _s = (s); \
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:198:37: error: base operand of ‘->’ is not a pointer
buffer = decompression_buffer_->data();
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc: In member function ‘void parquet::SerializedFile::ParseMetaData()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:197:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> metadata_buffer =
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:197:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> metadata_buffer =
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:197:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> metadata_buffer =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:202:29: error: base operand of ‘->’ is not a pointer
memcpy(metadata_buffer->mutable_data(),
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:207:72: error: base operand of ‘->’ is not a pointer
source_->ReadAt(metadata_start, metadata_len, metadata_buffer->mutable_data());
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/file_reader.cc:213:56: error: base operand of ‘->’ is not a pointer
file_metadata_ = FileMetaData::Make(metadata_buffer->data(), &metadata_len);
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In member function ‘virtual int64_t parquet::SerializedPageWriter::WriteDictionaryPage(const parquet::DictionaryPage&)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:149:51: error: no matching function for call to ‘static_pointer_cast<parquet::ResizableBuffer>(int)’
AllocateBuffer(pool_, uncompressed_size));
^
In file included from /usr/include/c++/8.2.0/bits/shared_ptr.h:52,
from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: candidate: ‘template<class _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp> std::static_pointer_cast(const std::__shared_ptr<_Tp2, _Lp>&)’
static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:149:51: note: mismatched types ‘const std::__shared_ptr<_Tp2, _Lp>’ and ‘int’
AllocateBuffer(pool_, uncompressed_size));
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: candidate: ‘template<class _Tp, class _Up> std::shared_ptr<_Tp> std::static_pointer_cast(const std::shared_ptr<_Tp>&)’
static_pointer_cast(const shared_ptr<_Up>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:149:51: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘int’
AllocateBuffer(pool_, uncompressed_size));
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In constructor ‘parquet::ColumnWriter::ColumnWriter(parquet::ColumnChunkMetaDataBuilder*, std::unique_ptr<parquet::PageWriter>, bool, parquet::Encoding::type, const parquet::WriterProperties*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:301:78: error: no matching function for call to ‘static_pointer_cast<parquet::ResizableBuffer>(int)’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/bits/shared_ptr.h:52,
from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: candidate: ‘template<class _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp> std::static_pointer_cast(const std::__shared_ptr<_Tp2, _Lp>&)’
static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:301:78: note: mismatched types ‘const std::__shared_ptr<_Tp2, _Lp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: candidate: ‘template<class _Tp, class _Up> std::shared_ptr<_Tp> std::static_pointer_cast(const std::shared_ptr<_Tp>&)’
static_pointer_cast(const shared_ptr<_Up>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:301:78: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:303:78: error: no matching function for call to ‘static_pointer_cast<parquet::ResizableBuffer>(int)’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/bits/shared_ptr.h:52,
from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: candidate: ‘template<class _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp> std::static_pointer_cast(const std::__shared_ptr<_Tp2, _Lp>&)’
static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:303:78: note: mismatched types ‘const std::__shared_ptr<_Tp2, _Lp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: candidate: ‘template<class _Tp, class _Up> std::shared_ptr<_Tp> std::static_pointer_cast(const std::shared_ptr<_Tp>&)’
static_pointer_cast(const shared_ptr<_Up>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:303:78: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:305:78: error: no matching function for call to ‘static_pointer_cast<parquet::ResizableBuffer>(int)’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/bits/shared_ptr.h:52,
from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: candidate: ‘template<class _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp> std::static_pointer_cast(const std::__shared_ptr<_Tp2, _Lp>&)’
static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:305:78: note: mismatched types ‘const std::__shared_ptr<_Tp2, _Lp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: candidate: ‘template<class _Tp, class _Up> std::shared_ptr<_Tp> std::static_pointer_cast(const std::shared_ptr<_Tp>&)’
static_pointer_cast(const shared_ptr<_Up>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:305:78: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:308:80: error: no matching function for call to ‘static_pointer_cast<parquet::ResizableBuffer>(int)’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/bits/shared_ptr.h:52,
from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: candidate: ‘template<class _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp> std::static_pointer_cast(const std::__shared_ptr<_Tp2, _Lp>&)’
static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1536:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:308:80: note: mismatched types ‘const std::__shared_ptr<_Tp2, _Lp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
In file included from /usr/include/c++/8.2.0/memory:81,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:26,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: candidate: ‘template<class _Tp, class _Up> std::shared_ptr<_Tp> std::static_pointer_cast(const std::shared_ptr<_Tp>&)’
static_pointer_cast(const shared_ptr<_Up>& __r) noexcept
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8.2.0/bits/shared_ptr.h:496:5: note: template argument deduction/substitution failed:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:308:80: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘int’
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_, 0));
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In member function ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage()’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:506:19: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:506:19: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> buffer =
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:506:29: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> buffer =
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:508:33: error: base operand of ‘->’ is not a pointer
dict_encoder->WriteDict(buffer->mutable_data());
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:49:14: error: ‘arrow::PoolBuffer’ has not been declared
using arrow::PoolBuffer;
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In function ‘int64_t parquet::arrow::impala_timestamp_to_nanoseconds(const parquet::Int96&)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:74:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int64_t nanoseconds = *(reinterpret_cast<const int64_t*>(&(impala_timestamp.value)));
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)0>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:783:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)1>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:784:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: At global scope:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:265:3: error: ‘PoolBuffer’ does not name a type; did you mean ‘Buffer’?
PoolBuffer def_levels_buffer_;
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In constructor ‘parquet::arrow::StructImpl::StructImpl(const std::vector<std::shared_ptr<parquet::arrow::ColumnReader::ColumnReaderImpl> >&, int16_t, arrow::MemoryPool*, const parquet::schema::Node*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:251:9: error: class ‘parquet::arrow::StructImpl’ does not have any field named ‘def_levels_buffer_’
def_levels_buffer_(pool) {
^~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)2>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:785:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)3>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:786:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)4>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:787:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)5>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:788:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)6>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:789:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc: In instantiation of ‘void parquet::TypedColumnWriter<DType>::WriteDictionaryPage() [with DType = parquet::DataType<(parquet::Type::type)7>]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:790:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:512:18: error: no matching function for call to ‘parquet::DictionaryPage::DictionaryPage(int&, int, parquet::Encoding::type)’
DictionaryPage page(buffer, dict_encoder->num_entries(),
^~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const std::shared_ptr<arrow::Buffer>&, int32_t, parquet::Encoding::type, bool)’
DictionaryPage(const std::shared_ptr<Buffer>& buffer, int32_t num_values,
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:152:3: note: no known conversion for argument 1 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(const parquet::DictionaryPage&)’
class DictionaryPage : public Page {
^~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate: ‘parquet::DictionaryPage::DictionaryPage(parquet::DictionaryPage&&)’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:150:7: note: candidate expects 1 argument, 3 provided
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:103: CMakeFiles/parquet_objlib.dir/src/parquet/arrow/schema.cc.o] Error 1
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:755:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:755:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:755:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:772:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> values = reader->ReleaseValues();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:772:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> values = reader->ReleaseValues();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:772:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> values = reader->ReleaseValues();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:775:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> class std::shared_ptr’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:775:33: note: expected a type, got ‘PoolBuffer’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘arrow::Status parquet::arrow::TransferFunctor<arrow::BooleanType, parquet::DataType<(parquet::Type::type)0> >::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:808:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:808:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:808:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
In file included from /usr/include/arrow/buffer.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:30,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:809:29: error: base operand of ‘->’ is not a pointer
RETURN_NOT_OK(is_valid->Resize(BytesForBits(length), false));
^~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘arrow::Status parquet::arrow::TransferFunctor<arrow::TimestampType, parquet::DataType<(parquet::Type::type)3> >::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:836:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:836:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:836:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘arrow::Status parquet::arrow::TransferFunctor<arrow::Date64Type, parquet::DataType<(parquet::Type::type)1> >::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:864:23: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:864:23: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:864:33: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In instantiation of ‘int parquet::Decoder<DType>::DecodeSpaced(parquet::Decoder<DType>::T*, int, int, const uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::Decoder<DType>::T = parquet::ByteArray; uint8_t = unsigned char; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:329:58: required from ‘int64_t parquet::TypedColumnReader<DType>::ReadValuesSpaced(int64_t, parquet::TypedColumnReader<DType>::T*, int64_t, uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)6>; int64_t = long int; parquet::TypedColumnReader<DType>::T = parquet::ByteArray; uint8_t = unsigned char]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:472:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:119:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(buffer + values_read, 0, (num_values - values_read) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/schema.h:31,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/types.h:150:8: note: ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’} declared here
struct ByteArray {
^~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:36,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In instantiation of ‘int parquet::Decoder<DType>::DecodeSpaced(parquet::Decoder<DType>::T*, int, int, const uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)7>; parquet::Decoder<DType>::T = parquet::FixedLenByteArray; uint8_t = unsigned char; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:329:58: required from ‘int64_t parquet::TypedColumnReader<DType>::ReadValuesSpaced(int64_t, parquet::TypedColumnReader<DType>::T*, int64_t, uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)7>; int64_t = long int; parquet::TypedColumnReader<DType>::T = parquet::FixedLenByteArray; uint8_t = unsigned char]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:473:40: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:119:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)7> >::T’ {aka ‘struct parquet::FixedLenByteArray’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(buffer + values_read, 0, (num_values - values_read) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/schema.h:31,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:35,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/types.h:165:8: note: ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)7> >::T’ {aka ‘struct parquet::FixedLenByteArray’} declared here
struct FixedLenByteArray {
^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:181: CMakeFiles/parquet_objlib.dir/src/parquet/file_reader.cc.o] Error 1
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:90: CMakeFiles/parquet_objlib.dir/src/parquet/arrow/record_reader.cc.o] Error 1
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In function ‘arrow::Status parquet::arrow::DecimalIntegerTransfer(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1103:21: error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1103:21: note: suggested alternative: ‘Buffer’
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^~~~~~~~~~
Buffer
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1103:31: error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> is_valid = reader->ReleaseIsValid();
^
In file included from /usr/include/arrow/buffer.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_reader.h:30,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/api/reader.h:22,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc: In member function ‘virtual arrow::Status parquet::arrow::StructImpl::GetDefLevels(const int16_t**, size_t*)’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1297:17: error: ‘def_levels_buffer_’ was not declared in this scope
RETURN_NOT_OK(def_levels_buffer_.Resize(size));
^~~~~~~~~~~~~~~~~~
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1299:15: error: ‘def_levels_buffer_’ was not declared in this scope
std::memset(def_levels_buffer_.mutable_data(), -1, size);
^~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:24,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h: In instantiation of ‘int parquet::Decoder<DType>::DecodeSpaced(parquet::Decoder<DType>::T*, int, int, const uint8_t*, int64_t) [with DType = parquet::DataType<(parquet::Type::type)6>; parquet::Decoder<DType>::T = parquet::ByteArray; uint8_t = unsigned char; int64_t = long int]’:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:109:15: required from here
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/encoding.h:119:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(buffer + values_read, 0, (num_values - values_read) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/schema.h:31,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/statistics.h:25,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_page.h:29,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/column_writer.cc:18:
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/types.h:150:8: note: ‘parquet::Decoder<parquet::DataType<(parquet::Type::type)6> >::T’ {aka ‘struct parquet::ByteArray’} declared here
struct ByteArray {
^~~~~~~~~
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:116: CMakeFiles/parquet_objlib.dir/src/parquet/arrow/writer.cc.o] Error 1
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:155: CMakeFiles/parquet_objlib.dir/src/parquet/column_writer.cc.o] Error 1
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:129: CMakeFiles/parquet_objlib.dir/src/parquet/column_reader.cc.o] Error 1
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::BooleanArray; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::BooleanArray]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::BooleanArray; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::BooleanArray; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::BooleanArray>]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::BooleanArray; _Alloc = std::allocator<arrow::BooleanArray>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::BooleanArray; _Alloc = std::allocator<arrow::BooleanArray>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::BooleanArray>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::BooleanArray; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::BooleanArray>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::BooleanArray]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::BooleanArray; _Alloc = std::allocator<arrow::BooleanArray>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::BooleanArray; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:811:65: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::BooleanArray::BooleanArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:413:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:413:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:413:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:413:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:403:3: note: candidate: ‘arrow::BooleanArray::BooleanArray(int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
BooleanArray(int64_t length, const std::shared_ptr<Buffer>& data,
^~~~~~~~~~~~
/usr/include/arrow/array.h:403:3: note: no known conversion for argument 1 from ‘const std::shared_ptr<arrow::DataType>’ to ‘int64_t’ {aka ‘long int’}
/usr/include/arrow/array.h:401:12: note: candidate: ‘arrow::BooleanArray::BooleanArray(const std::shared_ptr<arrow::ArrayData>&)’
explicit BooleanArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:401:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::TimestampType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:838:67: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::TimestampType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::TimestampType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Date64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:866:73: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Date64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Date64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::Decimal128Array; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::Decimal128Array]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::Decimal128Array; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::Decimal128Array; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::Decimal128Array>]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::Decimal128Array; _Alloc = std::allocator<arrow::Decimal128Array>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::Decimal128Array; _Alloc = std::allocator<arrow::Decimal128Array>; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::Decimal128Array>; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::Decimal128Array; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::Decimal128Array>; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::Decimal128Array]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::Decimal128Array; _Alloc = std::allocator<arrow::Decimal128Array>; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::Decimal128Array; _Args = {const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1104:54: required from ‘arrow::Status parquet::arrow::DecimalIntegerTransfer(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ParquetIntegerType = parquet::DataType<(parquet::Type::type)1>; <template-parameter-1-2> = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1117:69: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::Decimal128Array::Decimal128Array(const std::shared_ptr<arrow::DataType>&, const long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:572:3: note: candidate: ‘arrow::FixedSizeBinaryArray::FixedSizeBinaryArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
FixedSizeBinaryArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/array.h:599:31: note: inherited here
using FixedSizeBinaryArray::FixedSizeBinaryArray;
^~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/array.h:599:31: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:602:12: note: candidate: ‘arrow::Decimal128Array::Decimal128Array(const std::shared_ptr<arrow::ArrayData>&)’
explicit Decimal128Array(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~~~~
/usr/include/arrow/array.h:602:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt8Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt8Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::UInt8Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt8Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt8Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt8Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::UInt8Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1173:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::UInt8Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::UInt8Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int8Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int8Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int8Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int8Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int8Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int8Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int8Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int8Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int8Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int8Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1174:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int8Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int8Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt16Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt16Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::UInt16Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt16Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt16Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt16Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::UInt16Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1175:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::UInt16Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::UInt16Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int16Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int16Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int16Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int16Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int16Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int16Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int16Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int16Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int16Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int16Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1176:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int16Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int16Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::UInt32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::UInt32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1177:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::UInt32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::UInt32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1178:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1178:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::UInt64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::UInt64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::UInt64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}; _Tp = arrow::NumericArray<arrow::UInt64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::UInt64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::UInt64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:756:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, Enable>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::UInt64Type; ParquetType = parquet::DataType<(parquet::Type::type)2>; Enable = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1179:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::UInt64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, std::shared_ptr<arrow::Buffer>&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 4 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::UInt64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Int64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int64Type; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1180:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Int64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Int64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Int64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Int64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Int64Type; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1180:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Int64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Int64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::FloatType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::FloatType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::FloatType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::FloatType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::FloatType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::FloatType; ParquetType = parquet::DataType<(parquet::Type::type)4>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1181:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::FloatType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::FloatType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::FloatType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::FloatType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::FloatType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::FloatType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::FloatType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Alloc = std::allocator<arrow::NumericArray<arrow::FloatType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::FloatType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::FloatType; ParquetType = parquet::DataType<(parquet::Type::type)4>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1181:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::FloatType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::FloatType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::DoubleType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::DoubleType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::DoubleType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::DoubleType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::DoubleType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::DoubleType; ParquetType = parquet::DataType<(parquet::Type::type)5>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1182:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::DoubleType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::DoubleType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::DoubleType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::DoubleType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::DoubleType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::DoubleType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::DoubleType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Alloc = std::allocator<arrow::NumericArray<arrow::DoubleType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::DoubleType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::DoubleType; ParquetType = parquet::DataType<(parquet::Type::type)5>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1182:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::DoubleType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::DoubleType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Date32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Date32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Date32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1185:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Date32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Date32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Date32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Date32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Date32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Date32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Date32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Date32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Date32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Date32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1185:5: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Date32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Date32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::TimestampType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::TimestampType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::TimestampType; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1210:11: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::TimestampType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::TimestampType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::TimestampType>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::TimestampType>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::TimestampType> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::TimestampType>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::TimestampType>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Alloc = std::allocator<arrow::NumericArray<arrow::TimestampType> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::TimestampType>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::TimestampType; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1210:11: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::TimestampType>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::TimestampType]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Time32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Time32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1219:7: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Time32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Time32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time32Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time32Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Time32Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time32Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time32Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time32Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time32Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Time32Type; ParquetType = parquet::DataType<(parquet::Type::type)1>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1219:7: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Time32Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Time32Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Time64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}; _Tp = arrow::NumericArray<arrow::Time64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:776:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Time64Type; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1220:7: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Time64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&, int&, long int)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 5 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Time64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 5 provided
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time64Type>]’:
/usr/include/c++/8.2.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time64Type>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<arrow::NumericArray<arrow::Time64Type> >]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:543:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:656:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr_base.h:1322:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time64Type>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}; _Tp = arrow::NumericArray<arrow::Time64Type>]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Alloc = std::allocator<arrow::NumericArray<arrow::Time64Type> >; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/usr/include/c++/8.2.0/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = arrow::NumericArray<arrow::Time64Type>; _Args = {const std::shared_ptr<arrow::DataType>&, long int&, int&}]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:779:52: required from ‘arrow::Status parquet::arrow::TransferFunctor<ArrowType, ParquetType, typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type>::operator()(parquet::internal::RecordReader*, arrow::MemoryPool*, const std::shared_ptr<arrow::DataType>&, std::shared_ptr<arrow::Array>*) [with ArrowType = arrow::Time64Type; ParquetType = parquet::DataType<(parquet::Type::type)2>; typename std::enable_if<parquet::arrow::supports_fast_path_impl<ArrowType, ParquetType>::value>::type = void]’
/old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:1220:7: required from here
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: error: no matching function for call to ‘arrow::NumericArray<arrow::Time64Type>::NumericArray(const std::shared_ptr<arrow::DataType>&, long int&, int&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:344:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray(const std::shared_ptr<arrow::DataType>&, int64_t, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: no known conversion for argument 3 from ‘int’ to ‘const std::shared_ptr<arrow::Buffer>&’
/usr/include/arrow/array.h:353:3: note: candidate: ‘arrow::PrimitiveArray::PrimitiveArray()’
PrimitiveArray() {}
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: inherited here
using PrimitiveArray::PrimitiveArray;
^~~~~~~~~~~~~~
/usr/include/arrow/array.h:394:25: note: candidate expects 0 arguments, 3 provided
/usr/include/arrow/array.h:379:3: note: candidate: ‘template<class T1> arrow::NumericArray<TypeClass>::NumericArray(typename std::enable_if<arrow::TypeTraits<T1>::is_parameter_free, long int>::type, const std::shared_ptr<arrow::Buffer>&, const std::shared_ptr<arrow::Buffer>&, int64_t, int64_t)’
NumericArray(
^~~~~~~~~~~~
/usr/include/arrow/array.h:379:3: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/8.2.0/bits/allocator.h:46,
from /usr/include/c++/8.2.0/memory:63,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.h:21,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:18:
/usr/include/c++/8.2.0/ext/new_allocator.h:136:4: note: cannot convert ‘std::forward<long int&>((* & __args#1))’ (type ‘long int’) to type ‘const std::shared_ptr<arrow::Buffer>&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/arrow/api.h:23,
from /old/home/dan/build/parquet-cpp/src/parquet-cpp-apache-parquet-cpp-1.4.0/src/parquet/arrow/reader.cc:30:
/usr/include/arrow/array.h:374:12: note: candidate: ‘arrow::NumericArray<TypeClass>::NumericArray(const std::shared_ptr<arrow::ArrayData>&) [with TYPE = arrow::Time64Type]’
explicit NumericArray(const std::shared_ptr<ArrayData>& data);
^~~~~~~~~~~~
/usr/include/arrow/array.h:374:12: note: candidate expects 1 argument, 3 provided
make[2]: *** [CMakeFiles/parquet_objlib.dir/build.make:77: CMakeFiles/parquet_objlib.dir/src/parquet/arrow/reader.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:371: CMakeFiles/parquet_objlib.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment