Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
35afd40
GH-40799: [Doc][Format] Implementation status page should list canoni…
rok Apr 8, 2024
3a4962d
GH-41047: [C#] Address performance issue of reading from StringArray …
keshen-msft Apr 8, 2024
1558d3f
GH-38768: [Python] Empty slicing an array backwards beyond the start …
LucasG0 Apr 9, 2024
93d2db0
GH-40689: [Docs] Add nanoarrow to implementation status page (#41052)
paleolimbot Apr 9, 2024
ef530eb
GH-41088: [CI][Crossbow] Fix GitHub Actions workflow syntax error (#4…
kou Apr 9, 2024
e138bdc
GH-41043: [CI][Python] check message in test_make_write_options_error…
AlenkaF Apr 10, 2024
903be59
GH-40801: [Docs] Clarify device identifier documentation in the Arrow…
paleolimbot Apr 10, 2024
4d3d4ac
GH-40866: [C++][Python] Basic conversion of RecordBatch to Arrow Tens…
AlenkaF Apr 10, 2024
b18b1f4
GH-41119: [Archery][Packaging][CI] Avoid using --progress flag on Doc…
raulcd Apr 10, 2024
2853ecb
GH-41034: [C++][FS][Azure] Adjust DeleteDir/DeleteDirContents/GetFile…
kou Apr 10, 2024
5330df7
GH-40695 [C++] Expand Substrait type support (#40696)
westonpace Apr 11, 2024
bcde34a
Temporary update Azure CI workflow to use Jinja macro
raulcd Apr 11, 2024
84cd493
GH-41147: [CI][C++] Use newer LLVM on Ubuntu 24.04 (#41150)
pitrou Apr 11, 2024
a2c5a9a
GH-41145: [R][CI] test-r-dev-duckdb fails installing duckdb (#41152)
westonpace Apr 11, 2024
0f33954
GH-41154: [C++] Fix Valgrind error in string-to-float16 conversion (#…
pitrou Apr 11, 2024
ba85125
GH-41127: [CI] Use GitHub Actions instead of Azure Pipelines for dock…
kou Apr 12, 2024
3856bdd
GH-41004: [C++][FS][Azure] Don't run TestGetFileInfoGenerator() with …
kou Apr 12, 2024
9bdf082
GH-41124: [CI][C++] Don't use CMake 3.29.1 with vcpkg (#41151)
kou Apr 12, 2024
ed06440
GH-41169: [CI][Release] Specify --build-config explicitly on Windows …
kou Apr 13, 2024
4ec41de
GH-41167: [CI][Release][GLib][Conda] Pin gobject-introspection to 1.7…
kou Apr 13, 2024
8c625d7
GH-41176: [C++] Stop defining ARROW_TEST_MEMCHECK in config.h.cmake (…
kou Apr 13, 2024
41b99cb
GH-38010: [Python] Construct pyarrow.Field and ChunkedArray through A…
jorisvandenbossche Apr 15, 2024
0d1a016
GH-39848: [Python][Packaging] Build pyarrow wheels with numpy RC inst…
jorisvandenbossche Apr 15, 2024
0d3af8d
GH-41098: [Python] Add copy keyword in Array.__array__ for numpy 2.0+…
jorisvandenbossche Apr 15, 2024
1e40252
GH-41016: [C++] Fix null count check in BooleanArray.true_count() (#4…
jorisvandenbossche Apr 15, 2024
9cb361c
GH-41121: [C++] Fix: left anti join filter empty rows. (#41122)
Light-City Apr 15, 2024
b7187ad
GH-41227: [CI][Release][GLib][Conda] Unpin gobject-introspection (#41…
kou Apr 16, 2024
5a146ed
GH-35081: [Python] construct pandas.DataFrame with public API in `to_…
jorisvandenbossche Apr 16, 2024
eb5f162
GH-41201: [C++] Fix mistake in integration test. Explicitly cast std:…
lidavidm Apr 16, 2024
2847737
MINOR: [Release] Update CHANGELOG.md for 16.0.0
raulcd Apr 16, 2024
4cd1b34
MINOR: [Release] Update .deb/.rpm changelogs for 16.0.0
raulcd Apr 16, 2024
6a28035
MINOR: [Release] Update versions for 16.0.0
raulcd Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ VCPKG="a42af01b72c28a8e1d7b48107b33e4f286a55ef6" # 2023.11.20 Release
# ci/docker/python-wheel-windows-vs2019.dockerfile.
# This is a workaround for our CI problem that "archery docker build" doesn't
# use pulled built images in dev/tasks/python-wheels/github.windows.yml.
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-03-19
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-04-09

# Use conanio/${CONAN} for "docker-compose run --rm conan". See
# https://github.com/conan-io/conan-docker-tools#readme for available
Expand Down
400 changes: 400 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion c_glib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ project('arrow-glib', 'c', 'cpp',
# * 22.04: 0.61.2
meson_version: '>=0.53.2')

version = '16.0.0-SNAPSHOT'
version = '16.0.0'
if version.endswith('-SNAPSHOT')
version_numbers = version.split('-')[0].split('.')
version_tag = version.split('-')[1]
Expand Down
5 changes: 5 additions & 0 deletions ci/docker/linux-apt-r.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ ENV R_PRUNE_DEPS=${r_prune_deps}
ARG r_duckdb_dev=FALSE
ENV R_DUCKDB_DEV=${r_duckdb_dev}

# This is needed to avoid errors with utf8 characters in some
# R package's DESCRIPTION files
# https://github.com/statnmap/HatchedPolygons/issues/4
ENV LANG=C.UTF-8

# Build R
# [1] https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-18-04
# [2] https://linuxize.com/post/how-to-install-r-on-ubuntu-18-04/#installing-r-packages-from-cran
Expand Down
3 changes: 1 addition & 2 deletions ci/docker/python-wheel-manylinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,4 @@ SHELL ["/bin/bash", "-i", "-c"]
ENTRYPOINT ["/bin/bash", "-i", "-c"]

COPY python/requirements-wheel-build.txt /arrow/python/
# TODO(GH-39848) Remove the `--pre --extra-index-url` for numpy nightly again before the 16.0 release
RUN pip install -r /arrow/python/requirements-wheel-build.txt --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
RUN pip install -r /arrow/python/requirements-wheel-build.txt
3 changes: 1 addition & 2 deletions ci/docker/python-wheel-windows-vs2019.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ RUN choco install -r -y --no-progress python --version=%PYTHON_VERSION%
RUN python -m pip install -U pip setuptools

COPY python/requirements-wheel-build.txt arrow/python/
# TODO(GH-39848) Remove the `--pre --extra-index-url` for numpy nightly again before the 16.0 release
RUN python -m pip install -r arrow/python/requirements-wheel-build.txt --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
RUN python -m pip install -r arrow/python/requirements-wheel-build.txt

# ENV CLCACHE_DIR="C:\clcache"
# ENV CLCACHE_COMPRESS=1
Expand Down
4 changes: 2 additions & 2 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN echo "debconf debconf/frontend select Noninteractive" | \
# while debugging package list with docker build.
ARG clang_tools
ARG llvm
RUN latest_system_llvm=14 && \
RUN latest_system_llvm=18 && \
if [ ${llvm} -gt ${latest_system_llvm} -o \
${clang_tools} -gt ${latest_system_llvm} ]; then \
apt-get update -y -q && \
Expand Down Expand Up @@ -127,7 +127,7 @@ RUN if [ "${gcc_version}" = "" ]; then \
g++ \
gcc; \
else \
if [ "${gcc_version}" -gt "12" ]; then \
if [ "${gcc_version}" -gt "14" ]; then \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends software-properties-common && \
add-apt-repository ppa:ubuntu-toolchain-r/volatile; \
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
_realname=arrow
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=15.0.2.9000
pkgver=16.0.0
pkgrel=8000
pkgdesc="Apache Arrow is a cross-language development platform for in-memory data (mingw-w64)"
arch=("any")
Expand Down
29 changes: 26 additions & 3 deletions ci/scripts/install_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ set -e

declare -A archs
archs=([amd64]=x86_64
[arm64v8]=aarch64)
[arch64]=aarch64
[arm64]=aarch64
[arm64v8]=aarch64
[x86_64]=x86_64)

declare -A platforms
platforms=([linux]=linux
Expand All @@ -38,5 +41,25 @@ platform=${platforms[$2]}
version=$3
prefix=$4

url="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/Kitware/CMake/releases/download/v${version}/cmake-${version}-${platform}-${arch}.tar.gz"
wget -q ${url} -O - | tar -xzf - --directory ${prefix} --strip-components=1
mkdir -p ${prefix}
url="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/Kitware/CMake/releases/download/v${version}/cmake-${version}-${platform}-"
case ${platform} in
macos)
url+="universal.tar.gz"
curl -L ${url} | tar -xzf - --directory ${prefix} --strip-components=1
ln -s CMake.app/Contents/bin ${prefix}/bin
;;
windows)
url+="${arch}.zip"
archive_name=$(basename ${url})
curl -L -o ${archive_name} ${url}
unzip ${archive_name}
base_name=$(basename ${archive_name} .zip)
mv ${base_name}/* ${prefix}
rm -rf ${base_name} ${archive_name}
;;
*)
url+="${arch}.tar.gz"
curl -L ${url} | tar -xzf - --directory ${prefix} --strip-components=1
;;
esac
5 changes: 1 addition & 4 deletions ci/scripts/python_wheel_macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,12 @@ echo "=== (${PYTHON_VERSION}) Install Python build dependencies ==="
export PIP_SITE_PACKAGES=$(python -c 'import site; print(site.getsitepackages()[0])')
export PIP_TARGET_PLATFORM="macosx_${MACOSX_DEPLOYMENT_TARGET//./_}_${arch}"

# TODO(GH-39848) Remove the `--pre --extra-index-url` for numpy nightly again before the 16.0 release
pip install \
--upgrade \
--only-binary=:all: \
--target $PIP_SITE_PACKAGES \
--platform $PIP_TARGET_PLATFORM \
-r ${source_dir}/python/requirements-wheel-build.txt \
--pre \
--extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
-r ${source_dir}/python/requirements-wheel-build.txt
pip install "delocate>=0.10.3"

echo "=== (${PYTHON_VERSION}) Building Arrow C++ libraries ==="
Expand Down
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

set(ARROW_VERSION "16.0.0-SNAPSHOT")
set(ARROW_VERSION "16.0.0")

string(REGEX MATCH "^[0-9]+\\.[0-9]+\\.[0-9]+" ARROW_BASE_VERSION "${ARROW_VERSION}")

Expand Down
23 changes: 23 additions & 0 deletions cpp/src/arrow/acero/hash_join_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2036,6 +2036,29 @@ TEST(HashJoin, ResidualFilter) {
[3, 4, "alpha", 4, 16, "alpha"]])")});
}

TEST(HashJoin, FilterEmptyRows) {
// Regression test for GH-41121.
BatchesWithSchema input_left;
input_left.batches = {
ExecBatchFromJSON({int32(), utf8(), int32()}, R"([[2, "Jarry", 28]])")};
input_left.schema =
schema({field("id", int32()), field("name", utf8()), field("age", int32())});

BatchesWithSchema input_right;
input_right.batches = {ExecBatchFromJSON(
{int32(), int32(), utf8()},
R"([[2, 10, "Jack"], [3, 12, "Mark"], [4, 15, "Tom"], [1, 10, "Jack"]])")};
input_right.schema =
schema({field("id", int32()), field("stu_id", int32()), field("subject", utf8())});

const ResidualFilterCaseRunner runner{std::move(input_left), std::move(input_right)};

Expression filter = greater(field_ref("age"), literal(25));

runner.Run(JoinType::LEFT_ANTI, {"id"}, {"stu_id"}, std::move(filter),
{ExecBatchFromJSON({int32(), utf8(), int32()}, R"([[2, "Jarry", 28]])")});
}

TEST(HashJoin, TrivialResidualFilter) {
Expression always_true =
equal(call("add", {field_ref("l1"), field_ref("r1")}), literal(2)); // 1 + 1 == 2
Expand Down
5 changes: 5 additions & 0 deletions cpp/src/arrow/acero/swiss_join.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2167,6 +2167,11 @@ Status JoinResidualFilter::FilterOneBatch(const ExecBatch& keypayload_batch,
ARROW_DCHECK(!output_payload_ids || payload_ids_maybe_null);

*num_passing_rows = 0;

if (num_batch_rows == 0) {
return Status::OK();
}

ARROW_ASSIGN_OR_RAISE(Datum mask,
EvalFilter(keypayload_batch, num_batch_rows, batch_row_ids,
key_ids_maybe_null, payload_ids_maybe_null));
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/array_primitive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int64_t BooleanArray::false_count() const {
}

int64_t BooleanArray::true_count() const {
if (data_->null_count.load() != 0) {
if (data_->MayHaveNulls()) {
DCHECK(data_->buffers[0]);
return internal::CountAndSetBits(data_->buffers[0]->data(), data_->offset,
data_->buffers[1]->data(), data_->offset,
Expand Down
7 changes: 7 additions & 0 deletions cpp/src/arrow/array/array_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,13 @@ TEST(TestBooleanArray, TrueCountFalseCount) {
CheckArray(checked_cast<const BooleanArray&>(*arr));
CheckArray(checked_cast<const BooleanArray&>(*arr->Slice(5)));
CheckArray(checked_cast<const BooleanArray&>(*arr->Slice(0, 0)));

// GH-41016 true_count() with array without validity buffer with null_count of -1
auto arr_unknown_null_count = ArrayFromJSON(boolean(), "[true, false, true]");
arr_unknown_null_count->data()->null_count = kUnknownNullCount;
ASSERT_EQ(arr_unknown_null_count->data()->null_count.load(), -1);
ASSERT_EQ(arr_unknown_null_count->null_bitmap(), nullptr);
ASSERT_EQ(checked_pointer_cast<BooleanArray>(arr_unknown_null_count)->true_count(), 2);
}

TEST(TestPrimitiveAdHoc, TestType) {
Expand Down
Loading