Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
461 changes: 231 additions & 230 deletions .github/workflows/cpp.yml

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions ci/scripts/cpp_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,106 @@ if [ -z "${ARROW_DEBUG_MEMORY_POOL}" ]; then
fi

exclude_tests=()
exclude_tests+=("arrow-io-hdfs-test")
exclude_tests+=("arrow-hdfs-test")
exclude_tests+=("arrow-array-test")
exclude_tests+=("arrow-buffer-test")
exclude_tests+=("arrow-extension-type-test")
exclude_tests+=("arrow-misc-test")
exclude_tests+=("arrow-public-api-test")
exclude_tests+=("arrow-scalar-test")
exclude_tests+=("arrow-type-test")
exclude_tests+=("arrow-table-test")
exclude_tests+=("arrow-tensor-test")
exclude_tests+=("arrow-sparse-tensor-test")
exclude_tests+=("arrow-stl-test")
exclude_tests+=("arrow-generator-test")
exclude_tests+=("arrow-gtest-util-test")
exclude_tests+=("arrow-random-test")
exclude_tests+=("arrow-concatenate-test")
exclude_tests+=("arrow-data-test")
exclude_tests+=("arrow-diff-test")
exclude_tests+=("arrow-c-bridge-test")
exclude_tests+=("arrow-dlpack-test")
exclude_tests+=("arrow-compute-internals-test")
exclude_tests+=("arrow-compute-expression-test")
exclude_tests+=("arrow-compute-row-test")
exclude_tests+=("arrow-compute-scalar-cast-test")
exclude_tests+=("arrow-compute-scalar-type-test")
exclude_tests+=("arrow-compute-scalar-if-else-test")
exclude_tests+=("arrow-compute-scalar-temporal-test")
exclude_tests+=("arrow-compute-scalar-math-test")
exclude_tests+=("arrow-compute-scalar-utility-test")
exclude_tests+=("arrow-compute-vector-test")
exclude_tests+=("arrow-compute-vector-sort-test")
exclude_tests+=("arrow-compute-vector-selection-test")
exclude_tests+=("arrow-compute-vector-swizzle-test")
exclude_tests+=("arrow-compute-aggregate-test")
exclude_tests+=("arrow-compute-kernel-utility-test")
exclude_tests+=("arrow-canonical-extensions-test")
exclude_tests+=("arrow-io-buffered-test")
exclude_tests+=("arrow-io-compressed-test")
exclude_tests+=("arrow-io-file-test")
exclude_tests+=("arrow-io-memory-test")
exclude_tests+=("arrow-utility-test")
exclude_tests+=("arrow-async-utility-test")
exclude_tests+=("arrow-bit-utility-test")
exclude_tests+=("arrow-crc32-test")
exclude_tests+=("arrow-threading-utility-test")
exclude_tests+=("arrow-json-integration-test")
exclude_tests+=("arrow-csv-test")
exclude_tests+=("arrow-acero-plan-test")
exclude_tests+=("arrow-acero-source-node-test")
exclude_tests+=("arrow-acero-fetch-node-test")
exclude_tests+=("arrow-acero-order-by-node-test")
exclude_tests+=("arrow-acero-hash-join-node-test")
exclude_tests+=("arrow-acero-pivot-longer-node-test")
exclude_tests+=("arrow-acero-asof-join-node-test")
exclude_tests+=("arrow-acero-sorted-merge-node-test")
exclude_tests+=("arrow-acero-tpch-node-test")
exclude_tests+=("arrow-acero-union-node-test")
exclude_tests+=("arrow-acero-aggregate-node-test")
exclude_tests+=("arrow-acero-util-test")
exclude_tests+=("arrow-acero-hash-aggregate-test")
exclude_tests+=("arrow-acero-test-util-internal-test")
exclude_tests+=("arrow-dataset-dataset-test")
exclude_tests+=("arrow-dataset-dataset-writer-test")
exclude_tests+=("arrow-dataset-discovery-test")
exclude_tests+=("arrow-dataset-file-ipc-test")
exclude_tests+=("arrow-dataset-file-test")
exclude_tests+=("arrow-dataset-partition-test")
exclude_tests+=("arrow-dataset-scanner-test")
exclude_tests+=("arrow-dataset-subtree-test")
exclude_tests+=("arrow-dataset-write-node-test")
exclude_tests+=("arrow-dataset-file-csv-test")
exclude_tests+=("arrow-dataset-file-json-test")
exclude_tests+=("arrow-dataset-file-parquet-test")
exclude_tests+=("arrow-dataset-file-parquet-encryption-test")
exclude_tests+=("arrow-filesystem-test")
exclude_tests+=("arrow-gcsfs-test")
exclude_tests+=("arrow-s3fs-test")
exclude_tests+=("arrow-flight-internals-test")
exclude_tests+=("arrow-flight-test")
exclude_tests+=("arrow-flight-sql-test")
exclude_tests+=("arrow-feather-test")
exclude_tests+=("arrow-ipc-message-internal-test")
exclude_tests+=("arrow-ipc-read-write-test")
exclude_tests+=("arrow-ipc-tensor-test")
exclude_tests+=("arrow-json-test")
exclude_tests+=("arrow-substrait-substrait-test")
exclude_tests+=("parquet-internals-test")
exclude_tests+=("parquet-encoding-test")
exclude_tests+=("parquet-reader-test")
exclude_tests+=("parquet-writer-test")
exclude_tests+=("parquet-chunker-test")
exclude_tests+=("parquet-arrow-reader-writer-test")
exclude_tests+=("parquet-arrow-internals-test")
exclude_tests+=("parquet-arrow-metadata-test")
exclude_tests+=("parquet-encryption-test")
exclude_tests+=("parquet-encryption-key-management-test")
exclude_tests+=("parquet-file-deserialize-test")
exclude_tests+=("parquet-schema-test")

ctest_options=()
if ! type azurite >/dev/null 2>&1; then
exclude_tests+=("arrow-azurefs-test")
Expand Down
6 changes: 5 additions & 1 deletion cpp/src/arrow/compute/kernels/vector_pairwise.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ Status PairwiseExecImpl(KernelContext* ctx, const ArraySpan& input,
ArrayData* result) {
// We only compute values in the region where the input-with-offset overlaps
// the original input. The margin where these do not overlap gets filled with null.
const auto margin_length = std::min(abs(periods), input.length);

// -AL- locally fix the build issue on msys2
int64_t p = std::abs(static_cast<int64_t>(periods));
const auto margin_length = std::min(p, input.length);

const auto computed_length = input.length - margin_length;
const auto computed_start = periods > 0 ? margin_length : 0;
const auto left_start = computed_start;
Expand Down
3 changes: 1 addition & 2 deletions cpp/src/arrow/flight/sql/odbc/odbc.def
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

LIBRARY arrow_flight_sql_odbc
EXPORTS
; GH-46574 TODO enable DSN window
; ConfigDSNW
ConfigDSNW
SQLAllocConnect
SQLAllocEnv
SQLAllocHandle
Expand Down
Loading