Skip to content

Instantly share code, notes, and snippets.

View wesm's full-sized avatar

Wes McKinney wesm

View GitHub Profile
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe46950df in boost::multiprecision::backends::divide_unsigned_helper<boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1, (boost::multiprecision::cpp_int_check_type)0, void>, boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1, (boost::multiprecision::cpp_int_check_type)0, void> > (result=0x0, x=..., y=10, r=...)
at /usr/include/boost/multiprecision/cpp_int/divide.hpp:393
393 if((pr[r_order] < y) && r_order)
(gdb) bt
#0 0x00007fffe46950df in boost::multiprecision::backends::divide_unsigned_helper<boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1, (boost::multiprecision::cpp_int_check_type)0, void>, boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1, (boost::multiprecision::cpp_int_check_type)0, void> > (result=0x0, x=..., y=10, r=
{
"schema": {
"fields": [
{
"name": "bool_nullable",
"type": {
"name": "bool"
},
"nullable": true,
"children": [],
@wesm
wesm / parquet-benchmark-20170210.py
Created February 10, 2017 18:07
Parquet multithreaded benchmarks
import gc
import os
import time
import numpy as np
import pandas as pd
from pyarrow.compat import guid
import pyarrow as pa
import pyarrow.parquet as pq
import snappy
import os
import time
import numpy as np
import pandas as pd
from pyarrow.compat import guid
import pyarrow as pa
import pyarrow.parquet as pq
import fastparquet as fp
import os
import time
import numpy as np
import pandas as pd
from pyarrow.compat import guid
import pyarrow as pa
import pyarrow.parquet as pq
import fastparquet as fp
import os
import time
import numpy as np
import pandas as pd
from pyarrow.compat import guid
import pyarrow as pa
import pyarrow.parquet as pq
import fastparquet as fp
// automatically generated, do not modify
package org.apache.arrow.flatbuf;
import java.nio.*;
import java.lang.*;
import java.util.*;
import com.google.flatbuffers.*;
@SuppressWarnings("unused")
{
"schema" : {
"fields" : [{
"name" : "int8",
"nullable" : true,
"type" : {
"name" : "int",
"bitWidth" : 8,
"isSigned" : true
},
@wesm
wesm / sample.json
Created November 30, 2016 18:32
Arrow testing data
{
"schema": {
"fields": [
{
"name": "int8",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 8
},
$ $HOME/code/iwyu/iwyu_tool.py -p .
In file included from /home/wesm/code/arrow/cpp/src/arrow/array.cc:18:
In file included from /home/wesm/code/arrow/cpp/src/arrow/array.h:22:
In file included from /home/wesm/code/native-toolchain/build/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/memory:72:
In file included from /home/wesm/code/native-toolchain/build/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/iosfwd:40:
In file included from /home/wesm/code/native-toolchain/build/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/postypes.h:40:
In file included from /home/wesm/code/native-toolchain/build/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/cwchar:44:
/usr/include/wchar.h:39:11: fatal error: 'stdarg.h' file not found
# include <stdarg.h>
^