Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2024 10:01:44 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 690aec1dfb49 - main - databases/{,py-}pyarrow: update 13.0.0 =?utf-8?Q?=E2=86=92?= 15.0.2
Message-ID:  <202403241001.42OA1imO049337@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=690aec1dfb4999654eb81af3883634b4b6bdc534

commit 690aec1dfb4999654eb81af3883634b4b6bdc534
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-03-24 09:51:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-03-24 10:01:18 +0000

    databases/{,py-}pyarrow: update 13.0.0 → 15.0.2
---
 databases/arrow/Makefile                           |  28 +-
 databases/arrow/distinfo                           |   6 +-
 databases/arrow/files/patch-CMakeLists.txt         |   6 +-
 .../patch-cmake__modules_ThirdpartyToolchain.cmake |  94 +----
 .../files/patch-src_arrow_util_decimal__internal.h | 458 ---------------------
 databases/arrow/pkg-plist                          |  94 +++--
 databases/py-pyarrow/Makefile                      |   2 +-
 databases/py-pyarrow/distinfo                      |   6 +-
 databases/py-pyarrow/files/patch-pyproject.toml    |  10 +-
 databases/py-pyarrow/files/patch-setup.py          |  11 +
 10 files changed, 103 insertions(+), 612 deletions(-)

diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile
index 21b7d1538cd7..3df2af72231d 100644
--- a/databases/arrow/Makefile
+++ b/databases/arrow/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	arrow
-DISTVERSION=	13.0.0
-PORTREVISION=	6
+DISTVERSION=	15.0.2
 CATEGORIES=	databases
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION} \
 		https://github.com/apache/orc/archive/rel/:orc
@@ -32,16 +31,8 @@ CMAKE_OFF=	ARROW_BUILD_STATIC ARROW_WITH_BACKTRACE ARROW_BUILD_TESTS ARROW_BUILD
 OPTIONS_GROUP=			COMPRESSION COMPONENTS # components are listed in cpp/cmake_modules/DefineOptions.cmake
 OPTIONS_GROUP_COMPRESSION=	BROTLI BZ2 LZ4 SNAPPY ZLIB ZSTD
 OPTIONS_GROUP_COMPONENTS=	ACERO COMPUTE CSV DATASET FILESYSTEM FLIGHT GANDIVA HDFS IPC JSON MIMALLOC PARQUET ORC S3 SKYHOOK SUBSTRAIT BUILD_UTILITIES TENSORFLOW TESTING
-OPTIONS_DEFINE=			UTF8PROC
-OPTIONS_DEFAULT=		UTF8PROC
 OPTIONS_SUB=			yes
 
-## Miscellaneous options
-
-UTF8PROC_DESC=			Build with support for Unicode properties using the utf8proc library
-UTF8PROC_CMAKE_BOOL=		ARROW_WITH_UTF8PROC
-UTF8PROC_LIB_DEPENDS=		libutf8proc.so:textproc/utf8proc
-
 ## DESCs
 
 COMPRESSION_DESC=		Compression support:
@@ -75,7 +66,9 @@ ACERO_IMPLIES=			COMPUTE IPC
 
 COMPUTE_DESC=			Arrow Compute Modules
 COMPUTE_CMAKE_BOOL=		ARROW_COMPUTE
-COMPUTE_LIB_DEPENDS=		libre2.so:devel/re2
+COMPUTE_CMAKE_ON=		-DARROW_WITH_UTF8PROC=ON
+COMPUTE_LIB_DEPENDS=		libre2.so:devel/re2 \
+				libutf8proc.so:textproc/utf8proc
 
 CSV_DESC=			Arrow CSV Parser Module
 CSV_CMAKE_BOOL=			ARROW_CSV
@@ -96,17 +89,17 @@ FLIGHT_LIB_DEPENDS=		libgflags.so:devel/gflags \
 				libcares.so:dns/c-ares \
 				libgrpc.so:devel/grpc \
 				libre2.so:devel/re2
-FLIGHT_IMPLIES=			IPC
+FLIGHT_IMPLIES=			IPC COMPUTE # see https://github.com/apache/arrow/issues/40766
 FLIGHT_BROKEN=			configure breaks: Could not find a package configuration file provided by "re2"
 
 GANDIVA_DESC=			Gandiva libraries
-GANDIVA_USES=			ssl
+GANDIVA_USES=			llvm:17,lib ssl
 GANDIVA_CMAKE_BOOL=		ARROW_GANDIVA
-GANDIVA_BUILD_DEPENDS=		${LOCALBASE}/bin/clang12:devel/llvm12 # explicitly requires llvm-12
+GANDIVA_CMAKE_ON=		-DARROW_WITH_UTF8PROC=ON
 GANDIVA_LIB_DEPENDS=		libgrpc.so:devel/grpc \
 				libprotobuf.so:devel/protobuf \
-				libre2.so:devel/re2
-GANDIVA_IMPLIES=		UTF8PROC
+				libre2.so:devel/re2 \
+				libutf8proc.so:textproc/utf8proc
 
 HDFS_DESC=			Arrow HDFS bridge
 HDFS_CMAKE_BOOL=		ARROW_HDFS
@@ -201,6 +194,9 @@ PLIST_FILES+=	lib/cmake/Arrow/Findre2Alt.cmake
 PLIST_FILES+=	bin/arrow-file-to-stream \
 		bin/arrow-stream-to-file
 .endif
+.if ${PORT_OPTIONS:MGANDIVA} || ${PORT_OPTIONS:MCOMPUTE}
+PLIST_FILES+=	lib/cmake/Arrow/Findutf8proc.cmake
+.endif
 
 .if ${PORT_OPTIONS:MPYTHON} == "PYTHON" && ${PORT_OPTIONS:MFLIGHT} == "FLIGHT"
     PLIST_SUB+=	PYTHONFLIGHT=""
diff --git a/databases/arrow/distinfo b/databases/arrow/distinfo
index 925a93cb0a60..a4ff137977a5 100644
--- a/databases/arrow/distinfo
+++ b/databases/arrow/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1693195096
-SHA256 (apache-arrow-13.0.0.tar.gz) = 35dfda191262a756be934eef8afee8d09762cad25021daa626eb249e251ac9e6
-SIZE (apache-arrow-13.0.0.tar.gz) = 20542669
+TIMESTAMP = 1711166482
+SHA256 (apache-arrow-15.0.2.tar.gz) = abbf97176db6a9e8186fe005e93320dac27c64562755c77de50a882eb6179ac6
+SIZE (apache-arrow-15.0.2.tar.gz) = 21503812
 SHA256 (release-1.6.6.tar.gz) = 9a92b3eaad1d8b88a18cee41058feb34eb43d919df363e0b74a0b857724e4ba0
 SIZE (release-1.6.6.tar.gz) = 13939853
diff --git a/databases/arrow/files/patch-CMakeLists.txt b/databases/arrow/files/patch-CMakeLists.txt
index f9cc88da2671..97bc4e65ef81 100644
--- a/databases/arrow/files/patch-CMakeLists.txt
+++ b/databases/arrow/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2023-08-17 08:05:04 UTC
+--- CMakeLists.txt.orig	2024-03-13 13:37:59 UTC
 +++ CMakeLists.txt
-@@ -100,7 +100,7 @@ set(ARROW_BINARY_DIR ${PROJECT_BINARY_DIR})
+@@ -124,7 +124,7 @@ include(CMakeParseArguments)
  
  include(CMakePackageConfigHelpers)
  include(CMakeParseArguments)
@@ -9,7 +9,7 @@
  include(FindPackageHandleStandardArgs)
  
  include(GNUInstallDirs)
-@@ -968,9 +968,9 @@ if(ARROW_BUILD_EXAMPLES)
+@@ -1010,9 +1010,9 @@ endif()
    add_subdirectory(examples/arrow)
  endif()
  
diff --git a/databases/arrow/files/patch-cmake__modules_ThirdpartyToolchain.cmake b/databases/arrow/files/patch-cmake__modules_ThirdpartyToolchain.cmake
index bba08265633a..2901134cd147 100644
--- a/databases/arrow/files/patch-cmake__modules_ThirdpartyToolchain.cmake
+++ b/databases/arrow/files/patch-cmake__modules_ThirdpartyToolchain.cmake
@@ -1,6 +1,6 @@
---- cmake_modules/ThirdpartyToolchain.cmake.orig	2023-08-17 08:05:04 UTC
+--- cmake_modules/ThirdpartyToolchain.cmake.orig	2024-03-13 13:37:59 UTC
 +++ cmake_modules/ThirdpartyToolchain.cmake
-@@ -16,6 +16,7 @@
+@@ -16,6 +16,7 @@ include(ProcessorCount)
  # under the License.
  
  include(ProcessorCount)
@@ -8,95 +8,7 @@
  processorcount(NPROC)
  
  add_custom_target(rapidjson)
-@@ -2046,7 +2047,7 @@ macro(build_gtest)
-     string(APPEND GTEST_CMAKE_CXX_FLAGS " -DGTEST_CREATE_SHARED_LIBRARY=1")
-   endif()
- 
--  set(GTEST_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/googletest_ep-prefix")
-+  set(GTEST_PREFIX ${CMAKE_INSTALL_PREFIX})
-   set(GTEST_INCLUDE_DIR "${GTEST_PREFIX}/include")
- 
-   set(_GTEST_LIBRARY_DIR "${GTEST_PREFIX}/lib")
-@@ -2087,13 +2088,14 @@ macro(build_gtest)
-     list(APPEND GTEST_CMAKE_ARGS -Dgtest_force_shared_crt=ON)
-   endif()
- 
--  externalproject_add(googletest_ep
--                      ${EP_COMMON_OPTIONS}
--                      URL ${GTEST_SOURCE_URL}
--                      URL_HASH "SHA256=${ARROW_GTEST_BUILD_SHA256_CHECKSUM}"
--                      BUILD_BYPRODUCTS ${GTEST_SHARED_LIB} ${GTEST_MAIN_SHARED_LIB}
--                                       ${GMOCK_SHARED_LIB}
--                      CMAKE_ARGS ${GTEST_CMAKE_ARGS})
-+  #externalproject_add(googletest_ep
-+  #                    ${EP_COMMON_OPTIONS}
-+  #                    URL ${GTEST_SOURCE_URL}
-+  #                    URL_HASH "SHA256=${ARROW_GTEST_BUILD_SHA256_CHECKSUM}"
-+  #                    BUILD_BYPRODUCTS ${GTEST_SHARED_LIB} ${GTEST_MAIN_SHARED_LIB}
-+  #                                     ${GMOCK_SHARED_LIB}
-+  #                    CMAKE_ARGS ${GTEST_CMAKE_ARGS})
-+  find_package(GTest REQUIRED)
-   if(WIN32)
-     # Copy the built shared libraries to the same directory as our
-     # test programs because Windows doesn't provided rpath (run-time
-@@ -2119,16 +2121,16 @@ macro(build_gtest)
-     else()
-       set(_GTEST_RUNTIME_OUTPUT_DIR ${BUILD_OUTPUT_ROOT_DIRECTORY})
-     endif()
--    externalproject_add_step(googletest_ep copy
--                             COMMAND ${CMAKE_COMMAND} -E make_directory
--                                     ${_GTEST_RUNTIME_OUTPUT_DIR}
--                             COMMAND ${CMAKE_COMMAND} -E copy ${_GTEST_RUNTIME_LIB}
--                                     ${_GTEST_RUNTIME_OUTPUT_DIR}
--                             COMMAND ${CMAKE_COMMAND} -E copy ${_GMOCK_RUNTIME_LIB}
--                                     ${_GTEST_RUNTIME_OUTPUT_DIR}
--                             COMMAND ${CMAKE_COMMAND} -E copy ${_GTEST_MAIN_RUNTIME_LIB}
--                                     ${_GTEST_RUNTIME_OUTPUT_DIR}
--                             DEPENDEES install)
-+    #externalproject_add_step(googletest_ep copy
-+    #                         COMMAND ${CMAKE_COMMAND} -E make_directory
-+    #                                 ${_GTEST_RUNTIME_OUTPUT_DIR}
-+    #                         COMMAND ${CMAKE_COMMAND} -E copy ${_GTEST_RUNTIME_LIB}
-+    #                                 ${_GTEST_RUNTIME_OUTPUT_DIR}
-+    #                         COMMAND ${CMAKE_COMMAND} -E copy ${_GMOCK_RUNTIME_LIB}
-+    #                                 ${_GTEST_RUNTIME_OUTPUT_DIR}
-+    #                         COMMAND ${CMAKE_COMMAND} -E copy ${_GTEST_MAIN_RUNTIME_LIB}
-+    #                                 ${_GTEST_RUNTIME_OUTPUT_DIR}
-+    #                         DEPENDEES install)
-   endif()
- 
-   # The include directory must exist before it is referenced by a target.
-@@ -2152,10 +2154,10 @@ macro(build_gtest)
-                                    INTERFACE_COMPILE_DEFINITIONS
-                                    "GMOCK_LINKED_AS_SHARED_LIBRARY=1"
-                                    INTERFACE_INCLUDE_DIRECTORIES "${GTEST_INCLUDE_DIR}")
--  add_dependencies(toolchain-tests googletest_ep)
--  add_dependencies(arrow::GTest::gtest googletest_ep)
--  add_dependencies(arrow::GTest::gtest_main googletest_ep)
--  add_dependencies(arrow::GTest::gmock googletest_ep)
-+  add_dependencies(toolchain-tests GTest::GTest)
-+  add_dependencies(arrow::GTest::gtest GTest::GTest)
-+  add_dependencies(arrow::GTest::gtest_main GTest::GTest)
-+  add_dependencies(arrow::GTest::gmock GTest::GTest)
- endmacro()
- 
- if(ARROW_TESTING)
-@@ -2703,10 +2705,10 @@ macro(build_cares)
-   file(MAKE_DIRECTORY ${CARES_INCLUDE_DIR})
- 
-   add_dependencies(toolchain cares_ep)
--  add_library(c-ares::cares STATIC IMPORTED)
--  set_target_properties(c-ares::cares
--                        PROPERTIES IMPORTED_LOCATION "${CARES_STATIC_LIB}"
--                                   INTERFACE_INCLUDE_DIRECTORIES "${CARES_INCLUDE_DIR}")
-+  # add_library(c-ares::cares STATIC IMPORTED)
-+  # set_target_properties(c-ares::cares
-+  #                       PROPERTIES IMPORTED_LOCATION "${CARES_STATIC_LIB}"
-+  #                                  INTERFACE_INCLUDE_DIRECTORIES "${CARES_INCLUDE_DIR}")
-   add_dependencies(c-ares::cares cares_ep)
- 
-   if(APPLE)
-@@ -5132,6 +5134,8 @@ if(ARROW_WITH_UCX)
+@@ -5233,6 +5234,8 @@ message(STATUS "All bundled static libraries: ${ARROW_
  endif()
  
  message(STATUS "All bundled static libraries: ${ARROW_BUNDLED_STATIC_LIBS}")
diff --git a/databases/arrow/files/patch-src_arrow_util_decimal__internal.h b/databases/arrow/files/patch-src_arrow_util_decimal__internal.h
deleted file mode 100644
index 3f6837cfeb81..000000000000
--- a/databases/arrow/files/patch-src_arrow_util_decimal__internal.h
+++ /dev/null
@@ -1,458 +0,0 @@
---- src/arrow/util/decimal_internal.h.orig	2023-08-17 08:05:04 UTC
-+++ src/arrow/util/decimal_internal.h
-@@ -197,235 +197,228 @@ constexpr BasicDecimal128 kDecimal128HalfPowersOfTen[]
- #endif
- 
- constexpr BasicDecimal256 kDecimal256PowersOfTen[76 + 1] = {
--    BasicDecimal256FromLE({1ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({100000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1000000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10000000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({7766279631452241920ULL, 5ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({3875820019684212736ULL, 54ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1864712049423024128ULL, 542ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({200376420520689664ULL, 5421ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({2003764205206896640ULL, 54210ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1590897978359414784ULL, 542101ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({15908979783594147840ULL, 5421010ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({11515845246265065472ULL, 54210108ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({4477988020393345024ULL, 542101086ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({7886392056514347008ULL, 5421010862ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5076944270305263616ULL, 54210108624ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({13875954555633532928ULL, 542101086242ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({9632337040368467968ULL, 5421010862427ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({4089650035136921600ULL, 54210108624275ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({4003012203950112768ULL, 542101086242752ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({3136633892082024448ULL, 5421010862427522ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({12919594847110692864ULL, 54210108624275221ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({68739955140067328ULL, 542101086242752217ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({687399551400673280ULL, 5421010862427522170ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({6873995514006732800ULL, 17316620476856118468ULL, 2ULL, 0ULL}),
--    BasicDecimal256FromLE({13399722918938673152ULL, 7145508105175220139ULL, 29ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {4870020673419870208ULL, 16114848830623546549ULL, 293ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {11806718586779598848ULL, 13574535716559052564ULL, 2938ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {7386721425538678784ULL, 6618148649623664334ULL, 29387ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {80237960548581376ULL, 10841254275107988496ULL, 293873ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {802379605485813760ULL, 16178822382532126880ULL, 2938735ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {8023796054858137600ULL, 14214271235644855872ULL, 29387358ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {6450984253743169536ULL, 13015503840481697412ULL, 293873587ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {9169610316303040512ULL, 1027829888850112811ULL, 2938735877ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {17909126868192198656ULL, 10278298888501128114ULL, 29387358770ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {13070572018536022016ULL, 10549268516463523069ULL, 293873587705ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {1578511669393358848ULL, 13258964796087472617ULL, 2938735877055ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {15785116693933588480ULL, 3462439444907864858ULL, 29387358770557ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {10277214349659471872ULL, 16177650375369096972ULL, 293873587705571ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {10538423128046960640ULL, 14202551164014556797ULL, 2938735877055718ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {13150510911921848320ULL, 12898303124178706663ULL, 29387358770557187ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {2377900603251621888ULL, 18302566799529756941ULL, 293873587705571876ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {5332261958806667264ULL, 17004971331911604867ULL, 2938735877055718769ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {16429131440647569408ULL, 4029016655730084128ULL, 10940614696847636083ULL, 1ULL}),
--    BasicDecimal256FromLE({16717361816799281152ULL, 3396678409881738056ULL,
--                           17172426599928602752ULL, 15ULL}),
--    BasicDecimal256FromLE({1152921504606846976ULL, 15520040025107828953ULL,
--                           5703569335900062977ULL, 159ULL}),
--    BasicDecimal256FromLE({11529215046068469760ULL, 7626447661401876602ULL,
--                           1695461137871974930ULL, 1593ULL}),
--    BasicDecimal256FromLE({4611686018427387904ULL, 2477500319180559562ULL,
--                           16954611378719749304ULL, 15930ULL}),
--    BasicDecimal256FromLE({9223372036854775808ULL, 6328259118096044006ULL,
--                           3525417123811528497ULL, 159309ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 7942358959831785217ULL, 16807427164405733357ULL, 1593091ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 5636613303479645706ULL, 2053574980671369030ULL, 15930919ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 1025900813667802212ULL, 2089005733004138687ULL, 159309191ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 10259008136678022120ULL, 2443313256331835254ULL, 1593091911ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 10356360998232463120ULL, 5986388489608800929ULL, 15930919111ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 11329889613776873120ULL, 4523652674959354447ULL, 159309191113ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 2618431695511421504ULL, 8343038602174441244ULL, 1593091911132ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 7737572881404663424ULL, 9643409726906205977ULL, 15930919111324ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 3588752519208427776ULL, 4200376900514301694ULL, 159309191113245ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 17440781118374726144ULL, 5110280857723913709ULL, 1593091911132452ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 8387114520361296896ULL, 14209320429820033867ULL, 15930919111324522ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 10084168908774762496ULL, 12965995782233477362ULL, 159309191113245227ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 8607968719199866880ULL, 532749306367912313ULL, 1593091911132452277ULL})};
-+    BasicDecimal256FromLE(1ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(100000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1000000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10000000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(7766279631452241920ULL, 5ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(3875820019684212736ULL, 54ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1864712049423024128ULL, 542ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(200376420520689664ULL, 5421ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(2003764205206896640ULL, 54210ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1590897978359414784ULL, 542101ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(15908979783594147840ULL, 5421010ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(11515845246265065472ULL, 54210108ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(4477988020393345024ULL, 542101086ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(7886392056514347008ULL, 5421010862ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5076944270305263616ULL, 54210108624ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(13875954555633532928ULL, 542101086242ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(9632337040368467968ULL, 5421010862427ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(4089650035136921600ULL, 54210108624275ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(4003012203950112768ULL, 542101086242752ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(3136633892082024448ULL, 5421010862427522ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(12919594847110692864ULL, 54210108624275221ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(68739955140067328ULL, 542101086242752217ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(687399551400673280ULL, 5421010862427522170ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(6873995514006732800ULL, 17316620476856118468ULL, 2ULL, 0ULL),
-+    BasicDecimal256FromLE(13399722918938673152ULL, 7145508105175220139ULL, 29ULL, 0ULL),
-+    BasicDecimal256FromLE(4870020673419870208ULL, 16114848830623546549ULL, 293ULL, 0ULL),
-+    BasicDecimal256FromLE(11806718586779598848ULL, 13574535716559052564ULL, 2938ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(7386721425538678784ULL, 6618148649623664334ULL, 29387ULL, 0ULL),
-+    BasicDecimal256FromLE(80237960548581376ULL, 10841254275107988496ULL, 293873ULL, 0ULL),
-+    BasicDecimal256FromLE(802379605485813760ULL, 16178822382532126880ULL, 2938735ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(8023796054858137600ULL, 14214271235644855872ULL, 29387358ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(6450984253743169536ULL, 13015503840481697412ULL, 293873587ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(9169610316303040512ULL, 1027829888850112811ULL, 2938735877ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(17909126868192198656ULL, 10278298888501128114ULL,
-+                          29387358770ULL, 0ULL),
-+    BasicDecimal256FromLE(13070572018536022016ULL, 10549268516463523069ULL,
-+                          293873587705ULL, 0ULL),
-+    BasicDecimal256FromLE(1578511669393358848ULL, 13258964796087472617ULL,
-+                          2938735877055ULL, 0ULL),
-+    BasicDecimal256FromLE(15785116693933588480ULL, 3462439444907864858ULL,
-+                          29387358770557ULL, 0ULL),
-+    BasicDecimal256FromLE(10277214349659471872ULL, 16177650375369096972ULL,
-+                          293873587705571ULL, 0ULL),
-+    BasicDecimal256FromLE(10538423128046960640ULL, 14202551164014556797ULL,
-+                          2938735877055718ULL, 0ULL),
-+    BasicDecimal256FromLE(13150510911921848320ULL, 12898303124178706663ULL,
-+                          29387358770557187ULL, 0ULL),
-+    BasicDecimal256FromLE(2377900603251621888ULL, 18302566799529756941ULL,
-+                          293873587705571876ULL, 0ULL),
-+    BasicDecimal256FromLE(5332261958806667264ULL, 17004971331911604867ULL,
-+                          2938735877055718769ULL, 0ULL),
-+    BasicDecimal256FromLE(16429131440647569408ULL, 4029016655730084128ULL,
-+                          10940614696847636083ULL, 1ULL),
-+    BasicDecimal256FromLE(16717361816799281152ULL, 3396678409881738056ULL,
-+                          17172426599928602752ULL, 15ULL),
-+    BasicDecimal256FromLE(1152921504606846976ULL, 15520040025107828953ULL,
-+                          5703569335900062977ULL, 159ULL),
-+    BasicDecimal256FromLE(11529215046068469760ULL, 7626447661401876602ULL,
-+                          1695461137871974930ULL, 1593ULL),
-+    BasicDecimal256FromLE(4611686018427387904ULL, 2477500319180559562ULL,
-+                          16954611378719749304ULL, 15930ULL),
-+    BasicDecimal256FromLE(9223372036854775808ULL, 6328259118096044006ULL,
-+                          3525417123811528497ULL, 159309ULL),
-+    BasicDecimal256FromLE(0ULL, 7942358959831785217ULL, 16807427164405733357ULL,
-+                          1593091ULL),
-+    BasicDecimal256FromLE(0ULL, 5636613303479645706ULL, 2053574980671369030ULL,
-+                          15930919ULL),
-+    BasicDecimal256FromLE(0ULL, 1025900813667802212ULL, 2089005733004138687ULL,
-+                          159309191ULL),
-+    BasicDecimal256FromLE(0ULL, 10259008136678022120ULL, 2443313256331835254ULL,
-+                          1593091911ULL),
-+    BasicDecimal256FromLE(0ULL, 10356360998232463120ULL, 5986388489608800929ULL,
-+                          15930919111ULL),
-+    BasicDecimal256FromLE(0ULL, 11329889613776873120ULL, 4523652674959354447ULL,
-+                          159309191113ULL),
-+    BasicDecimal256FromLE(0ULL, 2618431695511421504ULL, 8343038602174441244ULL,
-+                          1593091911132ULL),
-+    BasicDecimal256FromLE(0ULL, 7737572881404663424ULL, 9643409726906205977ULL,
-+                          15930919111324ULL),
-+    BasicDecimal256FromLE(0ULL, 3588752519208427776ULL, 4200376900514301694ULL,
-+                          159309191113245ULL),
-+    BasicDecimal256FromLE(0ULL, 17440781118374726144ULL, 5110280857723913709ULL,
-+                          1593091911132452ULL),
-+    BasicDecimal256FromLE(0ULL, 8387114520361296896ULL, 14209320429820033867ULL,
-+                          15930919111324522ULL),
-+    BasicDecimal256FromLE(0ULL, 10084168908774762496ULL, 12965995782233477362ULL,
-+                          159309191113245227ULL),
-+    BasicDecimal256FromLE(0ULL, 8607968719199866880ULL, 532749306367912313ULL,
-+                          1593091911132452277ULL)};
- 
- constexpr BasicDecimal256 kDecimal256HalfPowersOfTen[] = {
--    BasicDecimal256FromLE({0ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({50000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({500000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5000000000000000000ULL, 0ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({13106511852580896768ULL, 2ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1937910009842106368ULL, 27ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({932356024711512064ULL, 271ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({9323560247115120640ULL, 2710ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1001882102603448320ULL, 27105ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({10018821026034483200ULL, 271050ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({7954489891797073920ULL, 2710505ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({5757922623132532736ULL, 27105054ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({2238994010196672512ULL, 271050543ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({3943196028257173504ULL, 2710505431ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({2538472135152631808ULL, 27105054312ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({6937977277816766464ULL, 271050543121ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({14039540557039009792ULL, 2710505431213ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({11268197054423236608ULL, 27105054312137ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({2001506101975056384ULL, 271050543121376ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({1568316946041012224ULL, 2710505431213761ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({15683169460410122240ULL, 27105054312137610ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({9257742014424809472ULL, 271050543121376108ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({343699775700336640ULL, 2710505431213761085ULL, 0ULL, 0ULL}),
--    BasicDecimal256FromLE({3436997757003366400ULL, 8658310238428059234ULL, 1ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {15923233496324112384ULL, 12796126089442385877ULL, 14ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {11658382373564710912ULL, 17280796452166549082ULL, 146ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {5903359293389799424ULL, 6787267858279526282ULL, 1469ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {3693360712769339392ULL, 12532446361666607975ULL, 14693ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {40118980274290688ULL, 14643999174408770056ULL, 146936ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {401189802742906880ULL, 17312783228120839248ULL, 1469367ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {4011898027429068800ULL, 7107135617822427936ULL, 14693679ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {3225492126871584768ULL, 15731123957095624514ULL, 146936793ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {13808177195006296064ULL, 9737286981279832213ULL, 1469367938ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {8954563434096099328ULL, 5139149444250564057ULL, 14693679385ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {15758658046122786816ULL, 14498006295086537342ULL, 146936793852ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {10012627871551455232ULL, 15852854434898512116ULL, 1469367938527ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {7892558346966794240ULL, 10954591759308708237ULL, 14693679385278ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {5138607174829735936ULL, 17312197224539324294ULL, 146936793852785ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {14492583600878256128ULL, 7101275582007278398ULL, 1469367938527859ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {15798627492815699968ULL, 15672523598944129139ULL, 14693679385278593ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {10412322338480586752ULL, 9151283399764878470ULL, 146936793852785938ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {11889503016258109440ULL, 17725857702810578241ULL, 1469367938527859384ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {8214565720323784704ULL, 11237880364719817872ULL, 14693679385278593849ULL, 0ULL}),
--    BasicDecimal256FromLE(
--        {8358680908399640576ULL, 1698339204940869028ULL, 17809585336819077184ULL, 7ULL}),
--    BasicDecimal256FromLE({9799832789158199296ULL, 16983392049408690284ULL,
--                           12075156704804807296ULL, 79ULL}),
--    BasicDecimal256FromLE({5764607523034234880ULL, 3813223830700938301ULL,
--                           10071102605790763273ULL, 796ULL}),
--    BasicDecimal256FromLE({2305843009213693952ULL, 1238750159590279781ULL,
--                           8477305689359874652ULL, 7965ULL}),
--    BasicDecimal256FromLE({4611686018427387904ULL, 12387501595902797811ULL,
--                           10986080598760540056ULL, 79654ULL}),
--    BasicDecimal256FromLE({9223372036854775808ULL, 13194551516770668416ULL,
--                           17627085619057642486ULL, 796545ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 2818306651739822853ULL, 10250159527190460323ULL, 7965459ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 9736322443688676914ULL, 10267874903356845151ULL, 79654595ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 5129504068339011060ULL, 10445028665020693435ULL, 796545955ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 14401552535971007368ULL, 12216566281659176272ULL, 7965459555ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 14888316843743212368ULL, 11485198374334453031ULL, 79654595556ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 1309215847755710752ULL, 4171519301087220622ULL, 796545955566ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 13092158477557107520ULL, 4821704863453102988ULL, 7965459555662ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 1794376259604213888ULL, 11323560487111926655ULL, 79654595556622ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 17943762596042138880ULL, 2555140428861956854ULL, 796545955566226ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 13416929297035424256ULL, 7104660214910016933ULL, 7965459555662261ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 5042084454387381248ULL, 15706369927971514489ULL, 79654595556622613ULL}),
--    BasicDecimal256FromLE(
--        {0ULL, 13527356396454709248ULL, 9489746690038731964ULL, 796545955566226138ULL})};
-+    BasicDecimal256FromLE(0ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(50000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(500000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5000000000000000000ULL, 0ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(13106511852580896768ULL, 2ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1937910009842106368ULL, 27ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(932356024711512064ULL, 271ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(9323560247115120640ULL, 2710ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1001882102603448320ULL, 27105ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(10018821026034483200ULL, 271050ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(7954489891797073920ULL, 2710505ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(5757922623132532736ULL, 27105054ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(2238994010196672512ULL, 271050543ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(3943196028257173504ULL, 2710505431ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(2538472135152631808ULL, 27105054312ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(6937977277816766464ULL, 271050543121ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(14039540557039009792ULL, 2710505431213ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(11268197054423236608ULL, 27105054312137ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(2001506101975056384ULL, 271050543121376ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(1568316946041012224ULL, 2710505431213761ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(15683169460410122240ULL, 27105054312137610ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(9257742014424809472ULL, 271050543121376108ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(343699775700336640ULL, 2710505431213761085ULL, 0ULL, 0ULL),
-+    BasicDecimal256FromLE(3436997757003366400ULL, 8658310238428059234ULL, 1ULL, 0ULL),
-+    BasicDecimal256FromLE(15923233496324112384ULL, 12796126089442385877ULL, 14ULL, 0ULL),
-+    BasicDecimal256FromLE(11658382373564710912ULL, 17280796452166549082ULL, 146ULL, 0ULL),
-+    BasicDecimal256FromLE(5903359293389799424ULL, 6787267858279526282ULL, 1469ULL, 0ULL),
-+    BasicDecimal256FromLE(3693360712769339392ULL, 12532446361666607975ULL, 14693ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(40118980274290688ULL, 14643999174408770056ULL, 146936ULL, 0ULL),
-+    BasicDecimal256FromLE(401189802742906880ULL, 17312783228120839248ULL, 1469367ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(4011898027429068800ULL, 7107135617822427936ULL, 14693679ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(3225492126871584768ULL, 15731123957095624514ULL, 146936793ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(13808177195006296064ULL, 9737286981279832213ULL, 1469367938ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(8954563434096099328ULL, 5139149444250564057ULL, 14693679385ULL,
-+                          0ULL),
-+    BasicDecimal256FromLE(15758658046122786816ULL, 14498006295086537342ULL,
-+                          146936793852ULL, 0ULL),
-+    BasicDecimal256FromLE(10012627871551455232ULL, 15852854434898512116ULL,
-+                          1469367938527ULL, 0ULL),
-+    BasicDecimal256FromLE(7892558346966794240ULL, 10954591759308708237ULL,
-+                          14693679385278ULL, 0ULL),
-+    BasicDecimal256FromLE(5138607174829735936ULL, 17312197224539324294ULL,
-+                          146936793852785ULL, 0ULL),
-+    BasicDecimal256FromLE(14492583600878256128ULL, 7101275582007278398ULL,
-+                          1469367938527859ULL, 0ULL),
-+    BasicDecimal256FromLE(15798627492815699968ULL, 15672523598944129139ULL,
-+                          14693679385278593ULL, 0ULL),
-+    BasicDecimal256FromLE(10412322338480586752ULL, 9151283399764878470ULL,
-+                          146936793852785938ULL, 0ULL),
-+    BasicDecimal256FromLE(11889503016258109440ULL, 17725857702810578241ULL,
-+                          1469367938527859384ULL, 0ULL),
-+    BasicDecimal256FromLE(8214565720323784704ULL, 11237880364719817872ULL,
-+                          14693679385278593849ULL, 0ULL),
-+    BasicDecimal256FromLE(8358680908399640576ULL, 1698339204940869028ULL,
-+                          17809585336819077184ULL, 7ULL),
-+    BasicDecimal256FromLE(9799832789158199296ULL, 16983392049408690284ULL,
-+                          12075156704804807296ULL, 79ULL),
-+    BasicDecimal256FromLE(5764607523034234880ULL, 3813223830700938301ULL,
-+                          10071102605790763273ULL, 796ULL),
-+    BasicDecimal256FromLE(2305843009213693952ULL, 1238750159590279781ULL,
-+                          8477305689359874652ULL, 7965ULL),
-+    BasicDecimal256FromLE(4611686018427387904ULL, 12387501595902797811ULL,
-+                          10986080598760540056ULL, 79654ULL),
-+    BasicDecimal256FromLE(9223372036854775808ULL, 13194551516770668416ULL,
-+                          17627085619057642486ULL, 796545ULL),
-+    BasicDecimal256FromLE(0ULL, 2818306651739822853ULL, 10250159527190460323ULL,
-+                          7965459ULL),
-+    BasicDecimal256FromLE(0ULL, 9736322443688676914ULL, 10267874903356845151ULL,
-+                          79654595ULL),
-+    BasicDecimal256FromLE(0ULL, 5129504068339011060ULL, 10445028665020693435ULL,
-+                          796545955ULL),
-+    BasicDecimal256FromLE(0ULL, 14401552535971007368ULL, 12216566281659176272ULL,
-+                          7965459555ULL),
-+    BasicDecimal256FromLE(0ULL, 14888316843743212368ULL, 11485198374334453031ULL,
-+                          79654595556ULL),
-+    BasicDecimal256FromLE(0ULL, 1309215847755710752ULL, 4171519301087220622ULL,
-+                          796545955566ULL),
-+    BasicDecimal256FromLE(0ULL, 13092158477557107520ULL, 4821704863453102988ULL,
-+                          7965459555662ULL),
-+    BasicDecimal256FromLE(0ULL, 1794376259604213888ULL, 11323560487111926655ULL,
-+                          79654595556622ULL),
-+    BasicDecimal256FromLE(0ULL, 17943762596042138880ULL, 2555140428861956854ULL,
-+                          796545955566226ULL),
-+    BasicDecimal256FromLE(0ULL, 13416929297035424256ULL, 7104660214910016933ULL,
-+                          7965459555662261ULL),
-+    BasicDecimal256FromLE(0ULL, 5042084454387381248ULL, 15706369927971514489ULL,
-+                          79654595556622613ULL),
-+    BasicDecimal256FromLE(0ULL, 13527356396454709248ULL, 9489746690038731964ULL,
-+                          796545955566226138ULL)};
- 
- #undef BasicDecimal256FromLE
- 
diff --git a/databases/arrow/pkg-plist b/databases/arrow/pkg-plist
index 995c2e22a40f..c3dfecdb6558 100644
--- a/databases/arrow/pkg-plist
+++ b/databases/arrow/pkg-plist
@@ -2,6 +2,7 @@
 %%ACERO%%include/arrow/acero/aggregate_node.h
 %%ACERO%%include/arrow/acero/api.h
 %%ACERO%%include/arrow/acero/asof_join_node.h
+%%ACERO%%include/arrow/acero/backpressure_handler.h
 %%ACERO%%include/arrow/acero/benchmark_util.h
 %%ACERO%%include/arrow/acero/bloom_filter.h
 %%ACERO%%include/arrow/acero/exec_plan.h
@@ -17,8 +18,10 @@
 %%ACERO%%include/arrow/acero/schema_util.h
 %%ACERO%%include/arrow/acero/task_util.h
 %%ACERO%%include/arrow/acero/test_nodes.h
+%%ACERO%%include/arrow/acero/time_series_util.h
 %%ACERO%%include/arrow/acero/tpch_node.h
 %%ACERO%%include/arrow/acero/type_fwd.h
+%%ACERO%%include/arrow/acero/unmaterialized_table.h
 %%ACERO%%include/arrow/acero/util.h
 %%ACERO%%include/arrow/acero/visibility.h
 include/arrow/api.h
@@ -50,6 +53,8 @@ include/arrow/buffer_builder.h
 include/arrow/builder.h
 include/arrow/c/abi.h
 include/arrow/c/bridge.h
+include/arrow/c/dlpack.h
+include/arrow/c/dlpack_abi.h
 include/arrow/c/helpers.h
 include/arrow/chunk_resolver.h
 include/arrow/chunked_array.h
@@ -62,6 +67,7 @@ include/arrow/compare.h
 %%COMPUTE%%include/arrow/compute/exec.h
 %%COMPUTE%%include/arrow/compute/expression.h
 %%COMPUTE%%include/arrow/compute/function.h
+%%COMPUTE%%include/arrow/compute/function_options.h
 %%COMPUTE%%include/arrow/compute/kernel.h
 %%COMPUTE%%include/arrow/compute/key_hash.h
 %%COMPUTE%%include/arrow/compute/key_map.h
@@ -94,6 +100,7 @@ include/arrow/config.h
 %%DATASET%%include/arrow/dataset/file_json.h
 %%DATASET%%include/arrow/dataset/file_orc.h
 %%DATASET%%include/arrow/dataset/file_parquet.h
+%%DATASET%%include/arrow/dataset/parquet_encryption_config.h
 %%DATASET%%include/arrow/dataset/partition.h
 %%DATASET%%include/arrow/dataset/pch.h
 %%DATASET%%include/arrow/dataset/plan.h
@@ -106,6 +113,7 @@ include/arrow/device.h
 %%JSON%%include/arrow/extension/fixed_shape_tensor.h
 include/arrow/extension_type.h
 %%FILESYSTEM%%include/arrow/filesystem/api.h
+%%FILESYSTEM%%include/arrow/filesystem/azurefs.h
 %%FILESYSTEM%%include/arrow/filesystem/filesystem.h
 %%FILESYSTEM%%include/arrow/filesystem/gcsfs.h
 %%FILESYSTEM%%include/arrow/filesystem/hdfs.h
@@ -116,6 +124,27 @@ include/arrow/extension_type.h
 %%FILESYSTEM%%include/arrow/filesystem/s3fs.h
 %%FILESYSTEM%%include/arrow/filesystem/test_util.h
 %%FILESYSTEM%%include/arrow/filesystem/type_fwd.h
+%%FLIGHT%%include/arrow/flight/api.h
+%%FLIGHT%%include/arrow/flight/client.h
+%%FLIGHT%%include/arrow/flight/client_auth.h
+%%FLIGHT%%include/arrow/flight/client_cookie_middleware.h
+%%FLIGHT%%include/arrow/flight/client_middleware.h
+%%FLIGHT%%include/arrow/flight/client_tracing_middleware.h
+%%FLIGHT%%include/arrow/flight/middleware.h
+%%FLIGHT%%include/arrow/flight/pch.h
+%%FLIGHT%%include/arrow/flight/platform.h
+%%FLIGHT%%include/arrow/flight/server.h
+%%FLIGHT%%include/arrow/flight/server_auth.h
+%%FLIGHT%%include/arrow/flight/server_middleware.h
+%%FLIGHT%%include/arrow/flight/server_tracing_middleware.h
+%%FLIGHT%%include/arrow/flight/test_definitions.h
+%%FLIGHT%%include/arrow/flight/test_util.h
+%%FLIGHT%%include/arrow/flight/transport.h
+%%FLIGHT%%include/arrow/flight/transport_server.h
+%%FLIGHT%%include/arrow/flight/type_fwd.h
+%%FLIGHT%%include/arrow/flight/types.h
+%%FLIGHT%%include/arrow/flight/types_async.h
+%%FLIGHT%%include/arrow/flight/visibility.h
 include/arrow/io/api.h
 include/arrow/io/buffered.h
 include/arrow/io/caching.h
@@ -178,7 +207,6 @@ include/arrow/testing/future_util.h
 include/arrow/testing/generator.h
 include/arrow/testing/gtest_compat.h
 include/arrow/testing/gtest_util.h
-include/arrow/testing/json_integration.h
 include/arrow/testing/matchers.h
 include/arrow/testing/pch.h
 include/arrow/testing/random.h
@@ -197,6 +225,7 @@ include/arrow/util/async_util.h
 include/arrow/util/base64.h
 include/arrow/util/basic_decimal.h
 include/arrow/util/benchmark_util.h
+include/arrow/util/binary_view_util.h
 include/arrow/util/bit_block_counter.h
 include/arrow/util/bit_run_reader.h
 include/arrow/util/bit_stream_utils.h
@@ -215,12 +244,7 @@ include/arrow/util/bpacking_avx2.h
 include/arrow/util/bpacking_avx512.h
 include/arrow/util/bpacking_default.h
 include/arrow/util/bpacking_neon.h
-include/arrow/util/bpacking_simd128_generated.h
-include/arrow/util/bpacking_simd256_generated.h
-include/arrow/util/bpacking_simd512_generated.h
 include/arrow/util/byte_size.h
-include/arrow/util/byte_stream_split.h
-include/arrow/util/bytes_view.h
 include/arrow/util/cancel.h
 include/arrow/util/checked_cast.h
 include/arrow/util/compare.h
@@ -234,9 +258,11 @@ include/arrow/util/crc32.h
 include/arrow/util/debug.h
 include/arrow/util/decimal.h
 include/arrow/util/delimiting.h
+include/arrow/util/dict_util.h
 include/arrow/util/dispatch.h
 include/arrow/util/double_conversion.h
 include/arrow/util/endian.h
+include/arrow/util/float16.h
 include/arrow/util/formatting.h
 include/arrow/util/functional.h
 include/arrow/util/future.h
@@ -248,6 +274,7 @@ include/arrow/util/io_util.h
 include/arrow/util/iterator.h
 include/arrow/util/key_value_metadata.h
 include/arrow/util/launder.h
+include/arrow/util/list_util.h
 include/arrow/util/logging.h
 include/arrow/util/macros.h
 include/arrow/util/map.h
@@ -267,6 +294,7 @@ include/arrow/util/simd.h
 include/arrow/util/small_vector.h
 include/arrow/util/sort.h
 include/arrow/util/spaced.h
+include/arrow/util/span.h
 include/arrow/util/stopwatch.h
 include/arrow/util/string.h
 include/arrow/util/string_builder.h
@@ -353,7 +381,7 @@ include/arrow/visitor_generate.h
 %%GANDIVA%%include/gandiva/formatting_utils.h
 %%GANDIVA%%include/gandiva/func_descriptor.h
 %%GANDIVA%%include/gandiva/function_holder.h
-%%GANDIVA%%include/gandiva/function_holder_registry.h
+%%GANDIVA%%include/gandiva/function_holder_maker_registry.h
 %%GANDIVA%%include/gandiva/function_ir_builder.h
 %%GANDIVA%%include/gandiva/function_registry.h
 %%GANDIVA%%include/gandiva/function_registry_arithmetic.h
@@ -400,6 +428,7 @@ include/arrow/visitor_generate.h
 %%PARQUET%%include/parquet/arrow/schema.h
 %%PARQUET%%include/parquet/arrow/test_util.h
 %%PARQUET%%include/parquet/arrow/writer.h
+%%PARQUET%%include/parquet/benchmark_util.h
 %%PARQUET%%include/parquet/bloom_filter.h
 %%PARQUET%%include/parquet/bloom_filter_reader.h
 %%PARQUET%%include/parquet/column_page.h
@@ -423,6 +452,7 @@ include/arrow/visitor_generate.h
 %%PARQUET%%include/parquet/encryption/test_encryption_util.h
 %%PARQUET%%include/parquet/encryption/test_in_memory_kms.h
 %%PARQUET%%include/parquet/encryption/two_level_cache_with_expiration.h
+%%PARQUET%%include/parquet/encryption/type_fwd.h
 %%PARQUET%%include/parquet/exception.h
 %%PARQUET%%include/parquet/file_reader.h
 %%PARQUET%%include/parquet/file_writer.h
@@ -455,13 +485,13 @@ lib/cmake/Arrow/ArrowTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/Arrow/ArrowTargets.cmake
 %%S3%%lib/cmake/Arrow/FindAWSSDKAlt.cmake
 %%S3%%lib/cmake/Arrow/FindOpenSSLAlt.cmake
-%%PARQUET%%lib/cmake/Arrow/FindThriftAlt.cmake
-%%UTF8PROC%%lib/cmake/Arrow/Findutf8proc.cmake
 lib/cmake/Arrow/arrow-config.cmake
-%%FLIGHT%%lib/cmake/Arrow/ArrowFlightConfig.cmake
-%%FLIGHT%%lib/cmake/Arrow/ArrowFlightConfigVersion.cmake
-%%FLIGHT%%lib/cmake/Arrow/ArrowFlightTargets-%%CMAKE_BUILD_TYPE%%.cmake
-%%FLIGHT%%lib/cmake/Arrow/ArrowFlightTargets.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/ArrowFlightConfig.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/ArrowFlightConfigVersion.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/ArrowFlightTargets-%%CMAKE_BUILD_TYPE%%.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/ArrowFlightTargets.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/FindProtobufAlt.cmake
+%%FLIGHT%%lib/cmake/ArrowFlight/FindgRPCAlt.cmake
 %%TESTINGFLIGHT%%lib/cmake/arrow/ArrowFlightTestingConfig.cmake
 %%TESTINGFLIGHT%%lib/cmake/arrow/ArrowFlightTestingConfigVersion.cmake
 %%TESTINGFLIGHT%%lib/cmake/arrow/ArrowFlightTestingTargets-%%CMAKE_BUILD_TYPE%%.cmake
@@ -478,46 +508,44 @@ lib/cmake/Arrow/arrow-config.cmake
 %%DATASET%%lib/cmake/ArrowDataset/ArrowDatasetConfigVersion.cmake
 %%DATASET%%lib/cmake/ArrowDataset/ArrowDatasetTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%DATASET%%lib/cmake/ArrowDataset/ArrowDatasetTargets.cmake
-%%FLIGHT%%lib/cmake/Arrow/FindArrowFlight.cmake
 %%PYTHONFLIGHT%%lib/cmake/arrow/FindArrowPythonFlight.cmake
 %%TESTING%%lib/cmake/ArrowTesting/ArrowTestingConfig.cmake
 %%TESTING%%lib/cmake/ArrowTesting/ArrowTestingConfigVersion.cmake
 %%TESTING%%lib/cmake/ArrowTesting/ArrowTestingTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%TESTING%%lib/cmake/ArrowTesting/ArrowTestingTargets.cmake
-%%BROTLI%%lib/cmake/Arrow/FindBrotli.cmake
-%%LZ4%%lib/cmake/arrow/FindLz4.cmake
-%%SNAPPY%%lib/cmake/arrow/FindSnappy.cmake
-%%ZSTD%%lib/cmake/Gandiva/FindzstdAlt.cmake
+%%TESTING%%lib/cmake/ArrowTesting/FindGTestAlt.cmake
 %%GANDIVA%%lib/cmake/Gandiva/FindLLVMAlt.cmake
+%%GANDIVA%%lib/cmake/Gandiva/GandivaAddBitcode.cmake
 %%GANDIVA%%lib/cmake/Gandiva/GandivaConfig.cmake
 %%GANDIVA%%lib/cmake/Gandiva/GandivaConfigVersion.cmake
 %%GANDIVA%%lib/cmake/Gandiva/GandivaTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%GANDIVA%%lib/cmake/Gandiva/GandivaTargets.cmake
+%%PARQUET%%lib/cmake/Parquet/FindThriftAlt.cmake
 %%PARQUET%%lib/cmake/Parquet/ParquetConfig.cmake
 %%PARQUET%%lib/cmake/Parquet/ParquetConfigVersion.cmake
 %%PARQUET%%lib/cmake/Parquet/ParquetTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%PARQUET%%lib/cmake/Parquet/ParquetTargets.cmake
 lib/libarrow.so
-lib/libarrow.so.1300
-lib/libarrow.so.1300.0.0
+lib/libarrow.so.1500
+lib/libarrow.so.1500.2.0
 %%ACERO%%lib/libarrow_acero.so
-%%ACERO%%lib/libarrow_acero.so.1300
-%%ACERO%%lib/libarrow_acero.so.1300.0.0
+%%ACERO%%lib/libarrow_acero.so.1500
+%%ACERO%%lib/libarrow_acero.so.1500.2.0
 %%DATASET%%lib/libarrow_dataset.so
-%%DATASET%%lib/libarrow_dataset.so.1300
-%%DATASET%%lib/libarrow_dataset.so.1300.0.0
+%%DATASET%%lib/libarrow_dataset.so.1500
+%%DATASET%%lib/libarrow_dataset.so.1500.2.0
 %%FLIGHT%%lib/libarrow_flight.so
-%%FLIGHT%%lib/libarrow_flight.so.1300
-%%FLIGHT%%lib/libarrow_flight.so.1300.0.0
+%%FLIGHT%%lib/libarrow_flight.so.1500
+%%FLIGHT%%lib/libarrow_flight.so.1500.2.0
 %%TESTING%%lib/libarrow_testing.so
-%%TESTING%%lib/libarrow_testing.so.1300
-%%TESTING%%lib/libarrow_testing.so.1300.0.0
+%%TESTING%%lib/libarrow_testing.so.1500
+%%TESTING%%lib/libarrow_testing.so.1500.2.0
 %%GANDIVA%%lib/libgandiva.so
-%%GANDIVA%%lib/libgandiva.so.1300
-%%GANDIVA%%lib/libgandiva.so.1300.0.0
+%%GANDIVA%%lib/libgandiva.so.1500
+%%GANDIVA%%lib/libgandiva.so.1500.2.0
 %%PARQUET%%lib/libparquet.so
-%%PARQUET%%lib/libparquet.so.1300
-%%PARQUET%%lib/libparquet.so.1300.0.0
+%%PARQUET%%lib/libparquet.so.1500
+%%PARQUET%%lib/libparquet.so.1500.2.0
 %%ACERO%%libdata/pkgconfig/arrow-acero.pc
 %%COMPUTE%%libdata/pkgconfig/arrow-compute.pc
 %%CSV%%libdata/pkgconfig/arrow-csv.pc
@@ -531,4 +559,4 @@ libdata/pkgconfig/arrow.pc
 %%GANDIVA%%libdata/pkgconfig/gandiva.pc
 %%PARQUET%%libdata/pkgconfig/parquet.pc
 %%DATADIR%%/gdb/gdb_arrow.py
-share/gdb/auto-load/usr/local/lib/libarrow.so.1300.0.0-gdb.py
+share/gdb/auto-load/usr/local/lib/libarrow.so.1500.2.0-gdb.py
diff --git a/databases/py-pyarrow/Makefile b/databases/py-pyarrow/Makefile
index 2404ba75f1b2..e79d0d8a38a8 100644
--- a/databases/py-pyarrow/Makefile
+++ b/databases/py-pyarrow/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyarrow
-PORTVERSION=	13.0.0
+PORTVERSION=	15.0.2
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/databases/py-pyarrow/distinfo b/databases/py-pyarrow/distinfo
index 3ff85c5fb683..5d0227c493ba 100644
--- a/databases/py-pyarrow/distinfo
+++ b/databases/py-pyarrow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693797275
-SHA256 (pyarrow-13.0.0.tar.gz) = 83333726e83ed44b0ac94d8d7a21bbdee4a05029c3b1e8db58a863eec8fd8a33
-SIZE (pyarrow-13.0.0.tar.gz) = 1034031
+TIMESTAMP = 1711222294
+SHA256 (pyarrow-15.0.2.tar.gz) = 9c9bc803cb3b7bfacc1e96ffbfd923601065d9d3f911179d81e72d99fd74a3d9
+SIZE (pyarrow-15.0.2.tar.gz) = 1064226
diff --git a/databases/py-pyarrow/files/patch-pyproject.toml b/databases/py-pyarrow/files/patch-pyproject.toml
index 0f0c1071fd83..8f3006b047e2 100644
*** 37 LINES SKIPPED ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403241001.42OA1imO049337>