You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "yugu (JIRA)" <ji...@apache.org> on 2017/07/13 15:01:05 UTC

[jira] [Created] (PARQUET-1057) undefined reference for WriteTable

yugu created PARQUET-1057:
-----------------------------

             Summary: undefined reference for WriteTable
                 Key: PARQUET-1057
                 URL: https://issues.apache.org/jira/browse/PARQUET-1057
             Project: Parquet
          Issue Type: New Feature
          Components: parquet-cpp
    Affects Versions: cpp-1.1.0
            Reporter: yugu


so i'm trying to write an arrow table using the WriteTable function provided. However, when compiling it throws
undefined reference to `parquet::arrow::WriteTable(arrow::Table const&, arrow::MemoryPool*, std::shared_ptr<arrow::io::OutputStream> const&, long, std::shared_ptr<parquet::WriterProperties> const&)'

I'm calling as below

{code:java}
#include <parquet/api/reader.h>
#include <parquet/api/writer.h>
#include <parquet/arrow/writer.h>
#include <vector>
#include <arrow/io/file.h>
#include <arrow/api.h>
#include <arrow/memory_pool.h>

...
        ::parquet::arrow::WriteTable(*table, ::arrow::default_memory_pool(), m_out_file, rsize, parquet::default_writer_properties());
...
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)