upgrade arrow and fix bug (#530)

* upgrade arrow and fix bug

* fixes suggested by Wes
This commit is contained in:
Philipp Moritz 2017-05-09 13:58:42 -07:00 committed by Robert Nishihara
parent 1f991b6389
commit e5e2aab5e4
2 changed files with 5 additions and 3 deletions

View file

@ -110,8 +110,10 @@ Status SequenceBuilder::AppendDict(int32_t size) {
auto lists = std::vector<std::shared_ptr<ArrayBuilder>>({list_builder}); \
StructBuilder builder(pool_, type, lists); \
OFFSETS.pop_back(); \
ARROW_CHECK_OK(list_builder->Append(OFFSETS.data(), OFFSETS.size())); \
builder.Append(); \
RETURN_NOT_OK(list_builder->Append(OFFSETS.data(), OFFSETS.size())); \
for (int i = 0; i < list_builder->length(); ++i) { \
RETURN_NOT_OK(builder.Append()); \
} \
ADD_ELEMENT(builder, TAG); \
type_ids.push_back(TAG); \
} else { \

View file

@ -11,4 +11,4 @@ if [ ! -d $TP_DIR/arrow ]; then
git clone https://github.com/apache/arrow/ "$TP_DIR/arrow"
fi
cd $TP_DIR/arrow
git checkout 30e03a90718971c2a1d773145fb042d0c2857036
git checkout 670612e6fdf699486641ed0d39d22257eb8acdb2