Changeset: b21b6ac059ba for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b21b6ac059ba Branch: literal_features Log Message:
merge with default diffs (truncated from 22292 to 300 lines): diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -3,7 +3,6 @@ name: MonetDB build and test on: push: branches: - - '*' - 'branches/*' pull_request: # Allows you to run this workflow manually from the Actions tab @@ -18,40 +17,113 @@ jobs: fail-fast: false # don't stop other jobs matrix: branch: [ master ] - os: [ ubuntu-latest, macos-latest ] + os: [ ubuntu-latest, macos-latest, windows-latest ] + c_compiler: [ gcc, clang, cl ] + include: + - os: windows-latest + c_compiler: cl + - os: macos-latest + c_compiler: clang + - os: macos-latest + c_compiler: gcc-12 + - os: ubuntu-latest + c_compiler: gcc + - os: ubuntu-latest + c_compiler: clang + exclude: + - os: windows-latest + c_compiler: gcc + - os: windows-latest + c_compiler: clang + - os: macos-latest + c_compiler: cl + - os: macos-latest + c_compiler: gcc + - os: ubuntu-latest + c_compiler: cl runs-on: ${{ matrix.os }} + env: + CTEST: ${{ runner.os == 'Windows' && 'RUN_TESTS' || 'test' }} steps: - name: Checkout uses: actions/checkout@v3 with: ref: ${{ matrix.branch }} + - name: install pymonetdb cryptography + run: pip3 install pymonetdb cryptography + - name: make MonetDB on linux run: | mkdir build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/${{ matrix.branch }} -DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DRINTEGRATION=OFF + cmake .. \ + -DCMAKE_INSTALL_PREFIX=$HOME/MDB \ + -DPY3INTEGRATION=OFF \ + -DRINTEGRATION=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DASSERT=OFF \ + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \ + -DCMAKE_SUMMARY=ON make install -j3 if: runner.os == 'Linux' - - - name: brew packages + + - name: brew packages run: brew install bison if: runner.os == 'macOS' + - name: make MonetDB on macos run: | mkdir build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/${{ matrix.branch }} -DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DRINTEGRATION=OFF \ - -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison + cmake .. \ + -DCMAKE_INSTALL_PREFIX=$HOME/MDB \ + -DPY3INTEGRATION=OFF \ + -DRINTEGRATION=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DASSERT=OFF \ + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \ + -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison \ + -DCMAKE_SUMMARY=ON make install -j3 if: runner.os == 'macOS' + + - name: choco packages + run: | + choco install winflexbison3 + vcpkg install libiconv bzip2 libxml2 pcre zlib getopt + if: runner.os == 'Windows' + + - name: make MonetDB on Windows + shell: pwsh + run: | + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=C:\MDB -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DPY3INTEGRATION=OFF -DRINTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_SUMMARY=ON + cmake --build . --target install + if: runner.os == 'Windows' + - name: ctest run: | cd build - cmake --build . --target test - #- - #uses: actions/upload-artifact@v3 - #name: Publish Linux binary wheels - #with: - #name: monetdbe-linux-wheel-${{ matrix.branch }}-${{ matrix.python-version }} - #path: dist/*.whl + cmake --build . --target ${{ CTEST }} + + - name: mtest + run: | + PATH=$HOME/MDB/bin:$PATH $HOME/MDB/bin/Mtest.py -r --debug=0 --ci --no-html --TSTTRGBASE=. + if: runner.os != 'Windows' + + - name: mtest + shell: pwsh + run: | + $env:PATH = 'C:\MDB\lib;C:\MDB\lib\monetdb5;C:\MDB\bin;C:\vcpkg\installed\x64-windows\bin;C:\vcpkg\installed\x64-windows\debug\bin;' + $env:PATH + python C:\MDB\bin\Mtest.py -r --debug=0 --ci --no-html --TSTTRGBASE=. + if: runner.os == 'Windows' + + - name: Tar files + run: tar -cvf mtests.tar mTests + - name: Publish mtest results + uses: actions/upload-artifact@v3 + with: + name: mtest-${{ matrix.branch }}-${{ matrix.os }}-${{ matrix.c_compiler }} + path: mtests.tar diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -813,3 +813,4 @@ ce63ebe9a78c52ef0cbe8fd6f2159d2637f0387c 1efa83c6409769d13b2ee30e497d5f7ab42fa955 Jun2023_9 6f88424ebfd9d82c072cf21d89070e04321983da Jun2023_11 6f88424ebfd9d82c072cf21d89070e04321983da Jun2023_SP2_release +e6eb06773c17035954ac5d001cfe1f09ff3425cc Jun2023_13 diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog file for devel # This file is updated with Maddlog +* Mon Oct 30 2023 Sjoerd Mullender <sjo...@acm.org> +- The ranges of merge partitions are now pushed down into the low + level GDK operations, giving them a handle to sometimes execute more + efficiently. + * Thu Jul 27 2023 Niels Nes <ni...@cwi.nl> - Removed the PYTHON MAP external language option, as after a fork the synchronization primitives could be in any state, leading to deadlocks. diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -54,7 +54,7 @@ # derivatives (CentOS, Scientific Linux), the geos library is not # available. However, the geos library is available in the Extra # Packages for Enterprise Linux (EPEL). -%if %{fedpkgs} +%if %{fedpkgs} && (0%{?rhel} != 7) && (0%{?rhel} != 8) # By default create the MonetDB-geom-MonetDB5 package on Fedora and RHEL 7 %bcond_without geos %endif @@ -89,7 +89,7 @@ Group: Applications/Databases License: MPL-2.0 URL: https://www.monetdb.org/ BugURL: https://github.com/MonetDB/MonetDB/issues -Source: https://www.monetdb.org/downloads/sources/Jun2023-SP2/%{name}-%{version}.tar.bz2 +Source: https://www.monetdb.org/downloads/sources/Jun2023-SP3/%{name}-%{version}.tar.bz2 # The Fedora packaging document says we need systemd-rpm-macros for # the _unitdir and _tmpfilesdir macros to exist; however on RHEL 7 @@ -123,6 +123,10 @@ BuildRequires: geos-devel >= 3.10.0 BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libxml-2.0) +%if 0%{?rhel} != 7 +BuildRequires: pkgconfig(openssl) >= 1.1.1 +%global with_openssl 1 +%endif %if %{with pcre} BuildRequires: pkgconfig(libpcre) >= 4.5 %endif @@ -369,6 +373,7 @@ developer. %{_bindir}/ODBCtester %{_bindir}/arraytest %{_bindir}/bincopydata +%{_bindir}/murltest %{_bindir}/odbcsample1 %{_bindir}/sample0 %{_bindir}/sample1 @@ -534,6 +539,7 @@ exit 0 %if %{with cintegration} %{_libdir}/monetdb5/lib_capi.so %endif +%{_libdir}/monetdb5/lib_csv.so %{_libdir}/monetdb5/lib_generator.so %doc %{_mandir}/man1/mserver5.1.gz %dir %{_datadir}/doc/MonetDB @@ -804,6 +810,7 @@ fi -DWITH_CURL=ON \ -DWITH_LZ4=ON \ -DWITH_LZMA=ON \ + -DWITH_OPENSSL=%{?with_openssl:ON}%{!?with_openssl:OFF} \ -DWITH_PCRE=ON \ -DWITH_PROJ=OFF \ -DWITH_READLINE=ON \ @@ -860,6 +867,26 @@ fi %endif %changelog +* Fri Nov 03 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.13-20231103 +- Rebuilt. +- GH#7300: Implement missing standard SQL DATE and TIMESTAMP functions +- GH#7324: string_distance('method',str1, str2) as a generic distance + function +- GH#7409: Numpy table returning UDFs with variadic arguments + +* Thu Nov 2 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.13-20231103 +- sql: Added a missing interface function sys.timestamp_to_str with + a TIMESTAMP (as opposed to TIMESTAMP WITH TIME ZONE) argument. + The missing interface caused error messages being produced when the + function was called with a TIMESTAMP argument, although it did give + the correct result. + +* Tue Oct 31 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.13-20231103 +- gdk: A bug was fixed where the administration of which bats were in use was + interpreted incorrectly during startup, causing problems later. One + symptom that has been observed was failure to startup with a message + that the catalog tables could not be loaded. + * Fri Sep 29 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.11-20230929 - Rebuilt. diff --git a/NT/mkodbcwxs.py b/NT/mkodbcwxs.py --- a/NT/mkodbcwxs.py +++ b/NT/mkodbcwxs.py @@ -36,10 +36,12 @@ def main(): if sys.argv[2] == '64': folder = r'ProgramFiles64Folder' arch = 'x64' + libcrypto = '-x64' vcpkg = r'C:\vcpkg\installed\x64-windows\{}' else: folder = r'ProgramFilesFolder' arch = 'x86' + libcrypto = '' vcpkg = r'C:\vcpkg\installed\x86-windows\{}' vcdir = os.getenv('VCINSTALLDIR') if vcdir is None: @@ -91,6 +93,8 @@ def main(): vcpkg.format(r'bin\iconv-2.dll'), vcpkg.format(r'bin\bz2.dll'), vcpkg.format(r'bin\charset-1.dll'), # for iconv-2.dll + vcpkg.format(r'bin\libcrypto-3{}.dll'.format(libcrypto)), + vcpkg.format(r'bin\libssl-3{}.dll'.format(libcrypto)), vcpkg.format(r'bin\lz4.dll'), vcpkg.format(r'bin\liblzma.dll'), vcpkg.format(r'bin\zlib1.dll')]) diff --git a/NT/mksqlwxs.py b/NT/mksqlwxs.py --- a/NT/mksqlwxs.py +++ b/NT/mksqlwxs.py @@ -43,10 +43,12 @@ def main(): if sys.argv[2] == '64': folder = r'ProgramFiles64Folder' arch = 'x64' + libcrypto = '-x64' vcpkg = r'C:\vcpkg\installed\x64-windows\{}' else: folder = r'ProgramFilesFolder' arch = 'x86' + libcrypto = '' vcpkg = r'C:\vcpkg\installed\x86-windows\{}' vcdir = os.getenv('VCINSTALLDIR') if vcdir is None: @@ -158,6 +160,8 @@ def main(): vcpkg.format(r'bin\bz2.dll'), vcpkg.format(r'bin\charset-1.dll'), # for iconv-2.dll vcpkg.format(r'bin\getopt.dll'), + vcpkg.format(r'bin\libcrypto-3{}.dll'.format(libcrypto)), + vcpkg.format(r'bin\libssl-3{}.dll'.format(libcrypto)), vcpkg.format(r'bin\libxml2.dll'), vcpkg.format(r'bin\lz4.dll'), vcpkg.format(r'bin\liblzma.dll'), diff --git a/clients/CMakeLists.txt b/clients/CMakeLists.txt --- a/clients/CMakeLists.txt +++ b/clients/CMakeLists.txt @@ -8,8 +8,8 @@ # Copyright 1997 - July 2008 CWI, August 2008 - 2023 MonetDB B.V. #]] _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org