From e60826c7dc079e9dbb936a92cc47b5e6203edd93 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:29:57 +0800 Subject: [PATCH 01/11] xxhash --- cpp/src/arrow/vendored/xxhash/xxhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/vendored/xxhash/xxhash.h b/cpp/src/arrow/vendored/xxhash/xxhash.h index 99b2b4b3800..d77b68cdf28 100644 --- a/cpp/src/arrow/vendored/xxhash/xxhash.h +++ b/cpp/src/arrow/vendored/xxhash/xxhash.h @@ -2474,7 +2474,7 @@ XXH_FORCE_INLINE xxh_u64x2 XXH_vec_loadu(const void *ptr) # define XXH_vec_mule __builtin_altivec_vmuleuw # else /* gcc needs inline assembly */ -/* Adapted from https://github.com/google/highwayhash/blob/master/highwayhash/hh_vsx.h. */ +/* Adapted from https://github.com/google/highwayhash/blob/main/highwayhash/hh_vsx.h. */ XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mulo(xxh_u32x4 a, xxh_u32x4 b) { xxh_u64x2 result; From 47985a5f22a9075a3e2c0d28049870ed0feb33be Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:36:36 +0800 Subject: [PATCH 02/11] Update ThirdpartyToolchain.cmake --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 50c3f6c4166..8b7e62b734f 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -4182,7 +4182,7 @@ macro(build_google_cloud_cpp_storage) message(STATUS "Building google-cloud-cpp from source") message(STATUS "Only building the google-cloud-cpp::storage component") - # List of dependencies taken from https://github.com/googleapis/google-cloud-cpp/blob/master/doc/packaging.md + # List of dependencies taken from https://github.com/googleapis/google-cloud-cpp/blob/main/doc/packaging.md ensure_absl() build_crc32c_once() From 1bed6032a3b6b1bbac3ffdea7865c91c2e0a65ed Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:41:27 +0800 Subject: [PATCH 03/11] Update datetime.cc --- python/pyarrow/src/arrow/python/datetime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/src/arrow/python/datetime.cc b/python/pyarrow/src/arrow/python/datetime.cc index babbe7233c9..fa9f74e4337 100644 --- a/python/pyarrow/src/arrow/python/datetime.cc +++ b/python/pyarrow/src/arrow/python/datetime.cc @@ -88,7 +88,7 @@ void InitDatetime() { #endif // The following code is adapted from -// https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/datetime.c +// https://github.com/numpy/numpy/blob/main/numpy/core/src/multiarray/datetime.c // Days per month, regular year and leap year static int64_t _days_per_month_table[2][12] = { From 306419a7979af77649e007d267452671e0ae8c75 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:50:50 +0800 Subject: [PATCH 04/11] Update DefineOptions.cmake --- cpp/cmake_modules/DefineOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake_modules/DefineOptions.cmake b/cpp/cmake_modules/DefineOptions.cmake index 1ec1245e7d3..d422514d134 100644 --- a/cpp/cmake_modules/DefineOptions.cmake +++ b/cpp/cmake_modules/DefineOptions.cmake @@ -552,7 +552,7 @@ takes precedence over ccache if a storage backend is configured" ON) if(DEFINED ENV{CONDA_PREFIX}) # Conda package changes the output name. - # https://github.com/conda-forge/snappy-feedstock/blob/master/recipe/windows-static-lib-name.patch + # https://github.com/conda-forge/snappy-feedstock/blob/main/recipe/windows-static-lib-name.patch set(SNAPPY_MSVC_STATIC_LIB_SUFFIX_DEFAULT "_static") else() set(SNAPPY_MSVC_STATIC_LIB_SUFFIX_DEFAULT "") From 0fcefd8d0351ef7f6686eb22032f998c7ead84fa Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:54:39 +0800 Subject: [PATCH 05/11] Update serialization.py --- python/pyarrow/serialization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/serialization.py b/python/pyarrow/serialization.py index d59a13166eb..59db3579a07 100644 --- a/python/pyarrow/serialization.py +++ b/python/pyarrow/serialization.py @@ -31,7 +31,7 @@ try: # This function is available after numpy-0.16.0. - # See also: https://github.com/numpy/numpy/blob/master/numpy/lib/format.py + # See also: https://github.com/numpy/numpy/blob/main/numpy/lib/format.py from numpy.lib.format import descr_to_dtype except ImportError: def descr_to_dtype(descr): From 684136d5c2f92b52809c74c061376f85e4475aec Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 14:58:17 +0800 Subject: [PATCH 06/11] Update dplyr-select.R --- r/R/dplyr-select.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r/R/dplyr-select.R b/r/R/dplyr-select.R index 9b6d07d375e..3394c8d4ae8 100644 --- a/r/R/dplyr-select.R +++ b/r/R/dplyr-select.R @@ -39,7 +39,7 @@ rename_with.Dataset <- rename_with.ArrowTabular <- rename_with.RecordBatchReader relocate.arrow_dplyr_query <- function(.data, ..., .before = NULL, .after = NULL) { # The code in this function is adapted from the code in dplyr::relocate.data.frame - # at https://github.com/tidyverse/dplyr/blob/master/R/relocate.R + # at https://github.com/tidyverse/dplyr/blob/main/R/relocate.R # TODO: revisit this after https://github.com/tidyverse/dplyr/issues/5829 .data <- as_adq(.data) From b24aef577666c93e1520021b8a84f98910bce5c8 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 15:00:16 +0800 Subject: [PATCH 07/11] Update dplyr-mutate.R --- r/R/dplyr-mutate.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r/R/dplyr-mutate.R b/r/R/dplyr-mutate.R index e777fae61f2..b75de1e4db2 100644 --- a/r/R/dplyr-mutate.R +++ b/r/R/dplyr-mutate.R @@ -134,7 +134,7 @@ transmute.arrow_dplyr_query <- function(.data, ...) { transmute.Dataset <- transmute.ArrowTabular <- transmute.RecordBatchReader <- transmute.arrow_dplyr_query # This function is a copy of dplyr:::check_transmute_args at -# https://github.com/tidyverse/dplyr/blob/master/R/mutate.R +# https://github.com/tidyverse/dplyr/blob/main/R/mutate.R check_transmute_args <- function(..., .keep, .before, .after) { if (!missing(.keep)) { abort("`transmute()` does not support the `.keep` argument") From 01d0f94a63ecbeed3a8ca29eafab6f81fb5e724f Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 15:02:08 +0800 Subject: [PATCH 08/11] Update github.yml --- dev/tasks/java-jars/github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml index 290f198b4fc..9f6fcf9c1ef 100644 --- a/dev/tasks/java-jars/github.yml +++ b/dev/tasks/java-jars/github.yml @@ -81,7 +81,7 @@ jobs: # doesn't provides static z3 because z3's CMake doesn't accept # building both shared and static libraries at once. # See also: Z3_BUILD_LIBZ3_SHARED in - # https://github.com/Z3Prover/z3/blob/master/README-CMake.md + # https://github.com/Z3Prover/z3/blob/main/README-CMake.md # # If llvm is installed, Apache Arrow C++ uses llvm rather than # llvm@14 because llvm is newer than llvm@14. From d8872417ecf0e19adb9743703a56e2d73a9f54c1 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 15:10:55 +0800 Subject: [PATCH 09/11] revert --- dev/tasks/java-jars/github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml index 9f6fcf9c1ef..290f198b4fc 100644 --- a/dev/tasks/java-jars/github.yml +++ b/dev/tasks/java-jars/github.yml @@ -81,7 +81,7 @@ jobs: # doesn't provides static z3 because z3's CMake doesn't accept # building both shared and static libraries at once. # See also: Z3_BUILD_LIBZ3_SHARED in - # https://github.com/Z3Prover/z3/blob/main/README-CMake.md + # https://github.com/Z3Prover/z3/blob/master/README-CMake.md # # If llvm is installed, Apache Arrow C++ uses llvm rather than # llvm@14 because llvm is newer than llvm@14. From fbe40d4dfbf82df53c6ff620f0b2e43be6a13e29 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 21:49:50 +0800 Subject: [PATCH 10/11] Update README.md --- csharp/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/README.md b/csharp/README.md index 8a10e0e7bf6..79415837713 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -156,7 +156,7 @@ When building the officially released version run: (see Note below about current Which will build the final/stable package. -NOTE: When building the officially released version, ensure that your `git` repository has the `origin` remote set to `https://github.com/apache/arrow.git`, which will ensure Source Link is set correctly. See https://github.com/dotnet/sourcelink/blob/master/docs/README.md for more information. +NOTE: When building the officially released version, ensure that your `git` repository has the `origin` remote set to `https://github.com/apache/arrow.git`, which will ensure Source Link is set correctly. See https://github.com/dotnet/sourcelink/blob/main/docs/README.md for more information. There are two output artifacts: 1. `Apache.Arrow..nupkg` - this contains the executable assemblies @@ -178,7 +178,7 @@ All build artifacts are placed in the **artifacts** folder in the project root. # Coding Style -This project follows the coding style specified in [Coding Style](https://github.com/dotnet/runtime/blob/master/docs/coding-guidelines/coding-style.md). +This project follows the coding style specified in [Coding Style](https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/coding-style.md). # Updating FlatBuffers code From 2b416f0a6f6741b0c3f59434ee6462b936c16ba3 Mon Sep 17 00:00:00 2001 From: Junming Chen Date: Wed, 8 Mar 2023 21:51:48 +0800 Subject: [PATCH 11/11] Update README.md --- python/pyarrow/tests/data/orc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/tests/data/orc/README.md b/python/pyarrow/tests/data/orc/README.md index ccbb0e8b132..c5482251553 100644 --- a/python/pyarrow/tests/data/orc/README.md +++ b/python/pyarrow/tests/data/orc/README.md @@ -19,4 +19,4 @@ The ORC and JSON files come from the `examples` directory in the Apache ORC source tree: -https://github.com/apache/orc/tree/master/examples +https://github.com/apache/orc/tree/main/examples