I need to deal with the test data still. But you can check out the dev workflow 
for Parquet-only:

```
ninja parquet
ctest -L parquet
```

This builds only the Parquet libraries and unit tests, and runs them. You can 
run all unit tests with `-L unittest` or only the Parquet unit tests with `-L 
parquet`.

Unfortunately I have two failing tests, evidently it is caused by some build 
toolchain issue but I haven't figured it out yet

```shell
$ gdb debug/parquet-file-serialize-test
SNIP

[  PASSED  ] 80 tests.
*** Error in 
`/home/wesm/code/arrow/cpp/build/debug/parquet-file-serialize-test': corrupted 
size vs. prev_size: 0x0000000000d1f0d0 ***

Program received signal SIGABRT, Aborted.
0x00007ffff5b3ac37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff5b3ac37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff5b3e028 in __GI_abort () at abort.c:89
#2  0x00007ffff5b772a4 in __libc_message (do_abort=1, 
fmt=fmt@entry=0x7ffff5c89350 "*** Error in `%s': %s: 0x%s ***\n") at 
../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff5b82cd7 in malloc_printerr (ptr=0xd1f0d0, str=0x7ffff5c85464 
"corrupted size vs. prev_size", action=<optimized out>) at malloc.c:4998
#4  malloc_consolidate (av=av@entry=0x7ffff5ec6760 <main_arena>) at 
malloc.c:4159
#5  0x00007ffff5b8372d in _int_free (av=0x7ffff5ec6760 <main_arena>, 
p=<optimized out>, have_lock=0) at malloc.c:4059
#6  0x00007ffff6e1502b in 
boost::re_detail_106700::mem_block_cache::~mem_block_cache() () from 
/home/wesm/cpp-toolchain/lib/libboost_regex.so.1.67.0
#7  0x00007ffff5b4053a in __cxa_finalize (d=0x7ffff7073750) at cxa_finalize.c:56
#8  0x00007ffff6daac53 in __do_global_dtors_aux () from 
/home/wesm/cpp-toolchain/lib/libboost_regex.so.1.67.0
#9  0x00007fffffffbe00 in ?? ()
#10 0x00007ffff7dea7da in _dl_fini () at dl-fini.c:252
Backtrace stopped: frame did not save the PC
```

[ Full content available at: https://github.com/apache/arrow/pull/2453 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to