Skip to content

Apache DataFusion SQL Query Engine

ARROW-1994: [Python] Test against Pandas master

Krisztián Szűcs4f4963113036
diff --git a/docker-compose.yml b/docker-compose.yml
index 9ee2b445d7..c1f798d20c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -78,7 +78,7 @@ services:
python:
# Usage:
- # export PYTHON_VERSION=3.6
+ # export PYTHON_VERSION=2.7|3.6|3.7
# docker-compose build cpp
# docker-compose build python
# docker-compose run python
@@ -181,6 +181,21 @@ services:
context: .
dockerfile: integration/hdfs/Dockerfile
+ pandas-master:
+ # Usage:
+ # export PYTHON_VERSION=3.6
+ # docker-compose build cpp
+ # docker-compose build python
+ # docker-compose build --no-cache pandas-master
+ # docker-compose run pandas-master
+ image: arrow:pandas-master
+ build:
+ context: .
+ dockerfile: integration/pandas/Dockerfile
+ shm_size: 2G
+ volumes: *volumes
+
+
# TODO(kszucs): dask-integration
# TODO(kszucs): hive-integration
# TODO(kszucs): spark-integration
diff --git a/integration/pandas/Dockerfile b/integration/pandas/Dockerfile
new file mode 100644
index 0000000000..8b56edf85d
--- /dev/null
+++ b/integration/pandas/Dockerfile
@@ -0,0 +1,21 @@
+# 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.
+
+FROM arrow:python-3.6
+
+# test against pandas' master
+RUN pip install git+https://github.com/pandas-dev/pandas.git