Apache DataFusion SQL Query Engine
ARROW-2145/ARROW-2153/ARROW-2157/ARROW-2160/ARROW-2177: [Python] Decimal conversion not working for NaN values
Phillip Cloudbf537e04a899
diff --git a/.travis.yml b/.travis.ymlindex a4c74657e5..b1241e793b 100644--- a/.travis.yml+++ b/.travis.yml@@ -174,7 +174,7 @@ matrix:- $TRAVIS_BUILD_DIR/ci/travis_before_script_c_glib.shscript:- $TRAVIS_BUILD_DIR/ci/travis_script_c_glib.sh- # [OS X] C++ & glib w/ XCode 8.3 & autotools+ # [OS X] C++ & glib w/ XCode 8.3 & autotools & homebrew- compiler: clangosx_image: xcode8.3os: osx@@ -185,7 +185,8 @@ matrix:- BUILD_SYSTEM=autotoolsbefore_script:- if [ $ARROW_CI_C_GLIB_AFFECTED != "1" ]; then exit; fi- - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library+ - $TRAVIS_BUILD_DIR/ci/travis_install_osx.sh+ - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library --homebrew- $TRAVIS_BUILD_DIR/ci/travis_before_script_c_glib.shscript:- $TRAVIS_BUILD_DIR/ci/travis_script_c_glib.shdiff --git a/ci/travis_before_script_c_glib.sh b/ci/travis_before_script_c_glib.shindex 27d1e86fd9..033fbd7c6c 100755--- a/ci/travis_before_script_c_glib.sh+++ b/ci/travis_before_script_c_glib.sh@@ -21,9 +21,7 @@ set -exsource $TRAVIS_BUILD_DIR/ci/travis_env_common.sh-if [ $TRAVIS_OS_NAME = "osx" ]; then- brew update && brew bundle --file=$TRAVIS_BUILD_DIR/c_glib/Brewfile-else # Linux+if [ $TRAVIS_OS_NAME = "linux" ]; thensudo apt-get install -y -q gtk-doc-tools autoconf-archive libgirepository1.0-devfidiff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.shindex 17b5deb36b..b9afbee786 100755--- a/ci/travis_before_script_cpp.sh+++ b/ci/travis_before_script_cpp.sh@@ -22,10 +22,22 @@ set -exsource $TRAVIS_BUILD_DIR/ci/travis_env_common.sh-if [ "$1" == "--only-library" ]; then- only_library_mode=yes-else- only_library_mode=no+only_library_mode=no+using_homebrew=no++while true; do+ case "$1" in+ --only-library)+ only_library_mode=yes+ shift ;;+ --homebrew)+ using_homebrew=yes+ shift ;;+ *) break ;;+ esac+done++if [ "$only_library_mode" == "no" ]; thensource $TRAVIS_BUILD_DIR/ci/travis_install_conda.shfi@@ -78,6 +90,10 @@ if [ $TRAVIS_OS_NAME == "linux" ]; then-DBUILD_WARNING_LEVEL=$ARROW_BUILD_WARNING_LEVEL \$ARROW_CPP_DIRelse+ if [ "$using_homebrew" = "yes" ]; then+ # build against homebrew's boost if we're using it+ export BOOST_ROOT=/usr/local/opt/boost+ ficmake $CMAKE_COMMON_FLAGS \$CMAKE_OSX_FLAGS \-DCMAKE_BUILD_TYPE=$ARROW_BUILD_TYPE \diff --git a/ci/travis_build_parquet_cpp.sh b/ci/travis_build_parquet_cpp.shindex 7d2e3ab736..f64a85d621 100755--- a/ci/travis_build_parquet_cpp.sh+++ b/ci/travis_build_parquet_cpp.sh@@ -38,7 +38,7 @@ cmake \-GNinja \-DCMAKE_BUILD_TYPE=debug \-DCMAKE_INSTALL_PREFIX=$ARROW_PYTHON_PARQUET_HOME \- -DPARQUET_BOOST_USE_SHARED=off \+ -DPARQUET_BOOST_USE_SHARED=on \-DPARQUET_BUILD_BENCHMARKS=off \-DPARQUET_BUILD_EXECUTABLES=off \-DPARQUET_BUILD_TESTS=off \diff --git a/ci/travis_install_linux.sh b/ci/travis_install_linux.shindex acee9ebcb2..74fde27741 100755--- a/ci/travis_install_linux.sh+++ b/ci/travis_install_linux.sh@@ -19,7 +19,7 @@sudo apt-get install -y -q \gdb ccache libboost-dev libboost-filesystem-dev \- libboost-system-dev libjemalloc-dev+ libboost-system-dev libboost-regex-dev libjemalloc-devif [ "$ARROW_TRAVIS_VALGRIND" == "1" ]; thensudo apt-get install -y -q valgrinddiff --git a/ci/travis_install_osx.sh b/ci/travis_install_osx.shnew file mode 100755index 0000000000..b03a5f16a3--- /dev/null+++ b/ci/travis_install_osx.sh@@ -0,0 +1,23 @@+#!/usr/bin/env bash++# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.++if [ "$ARROW_CI_C_GLIB_AFFECTED" = "1" ]; then+ brew update+ brew bundle --file=$TRAVIS_BUILD_DIR/c_glib/Brewfile+fi