Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 8.0 #839

Open
wants to merge 90 commits into
base: master
Choose a base branch
from
Open

Bump to 8.0 #839

wants to merge 90 commits into from

Commits on Aug 27, 2024

  1. Rework GDAL and PROJ helper file deployment (#7656)

    * Remove copy of GDAL_DATA files in main source tree
    * Copy both GDAL and PROJ helper files from deps
    * Copy to sibling gdal-data and proj-data dirs
    * Use CPL API to set config, instead of pushing to the process environment
    * Add importer-additional-proj-data-path config
    * Set either PROJ_DATA or PROJ_LIB config, dependent on GDAL/PROJ version
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b1afb57 View commit details
    Browse the repository at this point in the history
  2. Fix crash occurs when max_cpu_slab_size is set to a buffer pool size …

    …that is not a multiple of the page size
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    de2e422 View commit details
    Browse the repository at this point in the history
  3. Crash in SpeculativeTopNBlacklist::add() w/ parallel executors (#7659)

    * Fixup check logic
    
    * Avoid duplicated expr in the
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a7beaa9 View commit details
    Browse the repository at this point in the history
  4. Fix intermittent MLCategoricalRegressionFunctionsTest.ML_PREDICT fail…

    …ure (#7657)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    009ff44 View commit details
    Browse the repository at this point in the history
  5. Allow use of Vulkan Shader Debug Printf Extension (#7638)

    * Enable the device extension
    * Enable the validation layer feature
    * Add compile option (default OFF)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6091e92 View commit details
    Browse the repository at this point in the history
  6. Fix build when Parquet disabled (#7660)

    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    479f4dc View commit details
    Browse the repository at this point in the history
  7. Fix GDAL and PROJ helper file packaging and reading (#7662)

    * Fix path of cpack install of gdal and proj from deps to ThirdParty
    Keep gdal and proj directory names for simplicity
    Revert to setenv() as CPLSetConfigOption() does NOT work as documented
    
    * Add OSDependent/heavyai_env
    Use heavyai::setenv()
    
    * Add heavyai::env_path_separator()
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8bf7dd2 View commit details
    Browse the repository at this point in the history
  8. Fix intermittent FastAllocator error in distributed mode (#7663)

    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8ccc89d View commit details
    Browse the repository at this point in the history
  9. Sort on non-projected column causes a wrong query result in some edge…

    … cases (#7618)
    
    * Modify isDirectColumnarConversionPossible logic
    
    * Simplify op
    
    * make auto_parallel_row_count_threshold be a global constant
    
    * Add logs
    
    * Add test
    
    * Fixup dist test
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    69d820f View commit details
    Browse the repository at this point in the history
  10. Fixup crash when left joining views and then filtering (#7636)

    * Add artificial project node between filter and left-join nodes
    
    * Change rewriter function name
    
    * Add comments
    
    * Add test
    
    * Cover more edge cases
    
    * Address comment
    
    * Pass reference of the node_list to the query rewriting function
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e4c8080 View commit details
    Browse the repository at this point in the history
  11. Improve a logic that switches to baseline hash join (#7665)

    * Remove num tuple threshold
    
    * Address nullptr issue of EXPECT_TRUE
    
    * Remove global g_is_test_env from PerfectJoinHashTable
    
    * Modify comment
    
    * Fixup join column buckettized entry count
    
    * Fixup test failures: re-introduce g_is_test_env to control the behavior
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    86f8187 View commit details
    Browse the repository at this point in the history
  12. Implement MODE (statistical function) on GPU with flag (#7333)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    04554bb View commit details
    Browse the repository at this point in the history
  13. Initialize std::from_chars() reference to avoid uninitialized value w…

    …arning. (#7666)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    68a2d37 View commit details
    Browse the repository at this point in the history
  14. Lower the upper bound (#7674)

    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    9edb754 View commit details
    Browse the repository at this point in the history
  15. Enable use of CPU buffer manager for output buffer allocations by def…

    …ault
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    9d555fa View commit details
    Browse the repository at this point in the history
  16. Update Java dependencies (#7671)

    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c38a383 View commit details
    Browse the repository at this point in the history
  17. Pre-requisite changes for boost 1.84 update (#7667)

    * Add deps include path when compiling extensions functions with nvcc
    
    Change the `custom_command` for extension function compilation to include
    CMAKE_PREFIX_PATH/include to allow nvcc to find (and prefer) the custom
    build of boost on Ubuntu (required to update boost to 1.84)
    
    * Disable boost::serialization support for std::optional
    
    Define BOOST_NO_CXX17_HDR_OPTIONAL before including boost/serialization/optional.hpp
    to disable boost's new native std::optional serialization as it results in compile
    errors when using boost::serialization::split_free
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e063971 View commit details
    Browse the repository at this point in the history
  18. Update Vulkan SDK, glslang, and SPRIV-cross to 1.3.268

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    38333fb View commit details
    Browse the repository at this point in the history
  19. Support LLM_TRANSFORM function (#7669)

    * Add row-level llm_transform UDF WIP
    
    * Support LLM_TRANSFORM
    
    * Return response string, not an entire response JSON
    
    * Add newline after answer keyword
    
    * Improve error handling logic
    
    * Support dictionary type
    
    * Support llm_transform as filter expr
    
    * Move nlohmann json to thirdparty folder
    
    * Use iq-url instead of hard-coded url
    
    * Convert LLM_TRANSFORM to string function
    
    * Add test
    
    * Allow controlling # concurrent request
    
    * Check input operands
    
    * Use translation_cache to avoid double translation
    
    * Remove duplicated json impl
    
    * Fixup compilation failure
    
    * Add missing close character for prompt
    
    * Add missing newline
    
    * Use RapidJSON
    
    * Use robinhood unordered map
    
    * Allow none-encoded string input
    
    * Update llm call endpoint
    
    * Change the default value of g_max_concurrent_llm_transform_call to 16
    
    * Modify the exception msg
    
    * Use shared/unique lock to access translation_cache
    
    * Address comments
    
    * Add cpr lib
    
    * Make an individual test
    
    * Address comments v2
    
    ---------
    
    Co-authored-by: Todd Mostak <[email protected]>
    Signed-off-by: Misiu Godfrey <[email protected]>
    2 people authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b484bfd View commit details
    Browse the repository at this point in the history
  20. Add warpcore to Thirdparty/licenses/. (#7676)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    67c1f94 View commit details
    Browse the repository at this point in the history
  21. Add logs for GPU memory allocation (#7677)

    * Add log
    
    * Remove unnecessary logging about row_size
    
    * Address comments
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f1af29c View commit details
    Browse the repository at this point in the history
  22. Geo Deps Updates for 8.0 (#7465)

    BE-6491 Geospatial Dependencies Update for 8.0
    
    Update geospatial libs as follows:
    
    GDAL 3.7.3
    PROJ 9.3.1
    TIFF 4.5.1
    GeoTIFF 1.7.1
    GEOS 3.12.1
    
    Adds GDAL support for JPEG2000/JP2 raster, using OpenJPEG library. Also include additional dependent libs LittleCMS2 and WebP. Removed now-superfluous GDAL patch.
    
    Disabled ImportExportTest ExportTest/Shapefile/MULTIPOLYGON for now, as the new GDAL seems to write Shapefiles slightly differently, which breaks a comparison. New comparison Shapefiles are included in this PR, but the test is disabled. The test can be re-enabled once the deps transition is complete.
    
    Fix the GEOS version check which enables ST_ConcaveHull, and fix the test of ST_ConcaveHull, both broken due to not actually including the GEOS version header, so the pre-processor logic was silently failing.
    
    Changed use of boost::process::system() to call ogrinfo to use the more explicit form, as the simple form does not work with the new GDAL.
    
    Added PDAL patch for GDAL API const change. PDAL version is unchanged.
    
    Added fix for static GDAL data destruction (avoids ASAN error on exit in GeospatialTest).
    
    Added separate shared build of PROJ and GDAL tools, so they are still present on a CentOS build.
    
    Install PROJ and GDAL run-time data files directly from deps.
    
    Moved LLVM builds after geo libs build to allow faster iteration. Move back again once dust settles.
    
    NOTE: There is a crash in GDAL FlatGeobuf geo export which we are still tracking down. Work on this is ongoing, but we are rolling the minimal deps change out anyway so that proper testing for 8.0 can proceed. For now, there is a new build option to disable FlatGeobuf export, defaulting to disabled. Interactive export will error, and the corresponding tests in ImportExportTest are disabled.
    
    ---------
    
    Co-authored-by: Steve Blackmon <[email protected]>
    Signed-off-by: Misiu Godfrey <[email protected]>
    2 people authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    492b7db View commit details
    Browse the repository at this point in the history
  23. Suppress error: ‘this’ pointer is null when compiling UdfCompiler.cpp…

    … in RelWithDebInfo mode w/ GCC 13.2 and LLVM 14 (#7621)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    cf91400 View commit details
    Browse the repository at this point in the history
  24. Remove local copy of Vulkan Memory Allocator (#7684)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ce73c09 View commit details
    Browse the repository at this point in the history
  25. Throw an exception during a codegen for a query having an intermediat…

    …e geometry projection (#7678)
    
    * Throw an appropriate exception to avoid the crash
    
    * Add test
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    16deb67 View commit details
    Browse the repository at this point in the history
  26. Cast join column causes a server crash (#7679)

    * Add Calcite query rewrite rule to pushdown any expr on a column expr used in a join qual
    
    * Add tests
    
    * Address comment
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c668ecc View commit details
    Browse the repository at this point in the history
  27. S3 Parquet HeavyConnect: allow concurrent file opens (#7637)

    * Allow the `THREADS` key to be passed to data wrappers.
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ae16de9 View commit details
    Browse the repository at this point in the history
  28. Deps: Support Ubuntu 22.04 and 23.10, use openssl 3.0.10, boost 1.84,…

    … python cleanup, and more (#7683)
    
    * Bump centos gcc from 11.1 to 11.4 to match Ubuntu
    
    * Add baseline support for 22.04 / 23.10 and remove pre-20.04 support
    
     - Use 22.04 prebuilts for 23.10
    
    * Remove legacy python and use modern cmake find_package
    
      - Remove python, python2 and python-yaml from the Ubuntu package
        installs, and install python3 and python3-yaml
    
      - Remove python-devel from CentoOS
    
      - Replace the cmake find_package(PythonInterp) with the new
        find_package(Python). The latter defines slightly different vars
        (e.g. PYTHON_EXECUTABLE becomes Python_EXECUTABLE)
    
    * Bump boost to 1.84
    
     - Build boost on ubuntu and remove libboost-all-dev from packages
    
     - Add libnuma-dev (for memkind)
    
    * Bump folly to 2023.01.16.00 and FMT to 9.1.0
    
     - Disable exception tracer in folly, required for static linking libstdc++
       with the new version
    
    * Update to OpenSSL 3.0.10
    
     - Build openssl and curl on all ubuntu versions
    
    * Misc dependency script cleanup
    
     - Remove LLVM 9 patches from scripts
    
     - Change prebuilt script to always overwrite mapd-deps.sh and not append.
       Fixes the double entries
    
     - Fix several interactive prompts
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    086b5cb View commit details
    Browse the repository at this point in the history
  29. Bump Vulkan SDK and spirv-cross to 1.3.275 (#7687)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f5d5ab9 View commit details
    Browse the repository at this point in the history
  30. Sanitizer suppressions 8.0 deps (#7689)

    * Add ASAN suppression for ForeignTableDmlTest shutdown leak
    
    Leak in CRYPTO_zalloc during test shutdown
    
    * Add TSAN suppression for lock inversion in GeospatialTest
    
    * Add TSAN suppression for gdal lock inversion (RasterImporter)
    
    * TSAN - Disable GeoJoinTest SingleAndMultipleBins
    
    * TSAN - Disable MLRegressionTests
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    eb4eeeb View commit details
    Browse the repository at this point in the history
  31. Remove unnecessary restriction on LHS expr when handling IN clause …

    …(#7688)
    
    * Remove unnecessary input expr type checking
    
    * Add test
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    489ba89 View commit details
    Browse the repository at this point in the history
  32. Log cuda driver version at startup (#7692)

    * Log cuda driver version at startup
    
    * Address comment
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    7f98b07 View commit details
    Browse the repository at this point in the history
  33. Fixup a crash when multiple window functions needs to push their inpu…

    …t expression down to a child project node (#7686)
    
    * Fixup logic issue
    
    * Add test
    
    * Address comment
    
    * Address comment v2
    
    * Address comment v3
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    3f14c9d View commit details
    Browse the repository at this point in the history
  34. Additional logs related to CUDA device buffer addresses when calling …

    …cuda{malloc/free} (#7690)
    
    * Add logs
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c8427be View commit details
    Browse the repository at this point in the history
  35. Log additional diagnostic info on cuda kernel launch errors. (#7693)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a4a9cf6 View commit details
    Browse the repository at this point in the history
  36. Additional logs for data movement between host and device (#7691)

    * Add logs for cuda d2h, h2d, and d2d
    
    * Add logs for d2h and h2d query data
    
    * Address comments
    
    * Revise cudamgr d2h, h2d, d2d function to printout tag
    
    * allow flag to control logging behavior
    
    * Rebase and allow controlling logging behavior
    
    * Change size to value
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2d3bcba View commit details
    Browse the repository at this point in the history
  37. Fix deps issues running static heavydb builds on Ubuntu 22.04+ (#7695)

    * Build and static link OpenLDAP 2.5.16 on Centos
    
    * Bump ncurses to 6.4, libedit to 20230829-3.1
    
    Remove install of ncurses-devel
    
    * Cleanup prebuilt script installs
    
    * Remove patch_old_thrust_tb
    
    * Fix extension function parse_ast for python 3
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    872adf0 View commit details
    Browse the repository at this point in the history
  38. Update heavydb Dockerfiles for 8.0 dependencies (#7701)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    3f88134 View commit details
    Browse the repository at this point in the history
  39. Change FindThrust to handle identical major and minor versions (#7702)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    aa64e3a View commit details
    Browse the repository at this point in the history
  40. Skip Select.GroupBy Test with valgrind

    Temporarily skip this test pending investigation
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    12b968d View commit details
    Browse the repository at this point in the history
  41. Fix several HeavyAI install issues with 8.0 dependencies (#7706)

    * Update SDS Dockerfiles
    
    * Always set RPATH
    
    * Fix supported Ubuntu versions in install-heavyai.sh
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    aa138fe View commit details
    Browse the repository at this point in the history
  42. Add columns system table (#7680)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f11d1d1 View commit details
    Browse the repository at this point in the history
  43. Fix loop join top-k sort bug (#7672)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b8fb655 View commit details
    Browse the repository at this point in the history
  44. Change LLM_TRANSFORM prompt to question

    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b4e8850 View commit details
    Browse the repository at this point in the history
  45. Cardinality cache cannot differentiate two similar queries (#7699)

    * Improve cardinality cache key gen logic
    
    * Add test
    
    * Address comment
    
    * Address  comment v2
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8aec242 View commit details
    Browse the repository at this point in the history
  46. Workaround for ResultSet id/address mismatch in In-Situ Polygon Rende…

    …r (#7698)
    
    * Scans entire provided ResultSet and extracts Geo*TargetValuePtr "coords" datums
    * Validates each one with CudaMgr to ensure it falls within a known device memory allocation
    * Constructs the set of device IDs associated with those allocations
    * If the resulting set contains just one device ID, we force the Thrust and render to that GPU
    * If the resulting set contains more than one device ID, we switch to the slower render path
    * Logs important info to VLOG(1) including timing
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    eb85529 View commit details
    Browse the repository at this point in the history
  47. Fix pyheavydb test failure and update version number (#7668)

     remove generated files from repository and TTypeInfo dictionary test fix
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    jack-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    42df2ac View commit details
    Browse the repository at this point in the history
  48. Add support for table and column comments (#7694)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    19040af View commit details
    Browse the repository at this point in the history
  49. ERM does not handle the resource request after it throws the "Resourc…

    …eStat" exception (#7696)
    
    * Add fallback logic when request alloc error occurred
    
    * Add test
    
    * Address comment
    
    * Address comments v2
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    7490db7 View commit details
    Browse the repository at this point in the history
  50. Change default res-gpu-mem value from 384MB to 768MB (#7719)

    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a2c551b View commit details
    Browse the repository at this point in the history
  51. Include comments in SHOW CREATE TABLE (#7717)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ba8ef53 View commit details
    Browse the repository at this point in the history
  52. Implement GRANT/REVOKE for SELECT COLUMN (#7566)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    58c00d8 View commit details
    Browse the repository at this point in the history
  53. Fix data race between QueryDispatchQueue submitter and worker threads…

    … when an exception is thrown. (#7714)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattpulver authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8e4f36f View commit details
    Browse the repository at this point in the history
  54. Install gpg-agent in Dockerfile.cpu (#7723)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    7bb2938 View commit details
    Browse the repository at this point in the history
  55. Add support for Ada and Hopper Architectures (#7700)

    * Update returned compute capability for Ada and Hopper
    
    * Update CMAKE_CUDA_ARCHITECTURES/CUDA_COMPILATION_ARCH
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0de381d View commit details
    Browse the repository at this point in the history
  56. Finalize GEOS version and packaging for 8.0 (#7722)

    * Downgrade deps GEOS from 3.12.1 (too new) to 3.11.1
    * Build GEOS with CMake
    * Install GEOS 3.11.1 run-time DSOs from public ubuntugis PPA
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f1a9277 View commit details
    Browse the repository at this point in the history
  57. Deps: bump sqlite3 to 3.45.1 (#7727)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8171c2d View commit details
    Browse the repository at this point in the history
  58. Fix oneDAL issues when C++20 enabled in heavydb builds (#7726)

    * Bump oneDAL to 2024.1.0
    
    * Patch issues when using c++20
    
    - Remove c++ standard override from oneDALConfig.cmake
    
    - Remove redundant template params from ctor declarations
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    82f15be View commit details
    Browse the repository at this point in the history
  59. Do not use apt-key add in Dockerfile.jenkins-ssh

    apt-key add was deprecated in 22.04 and is no longer usable
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0d00ce0 View commit details
    Browse the repository at this point in the history
  60. Server crash when passing nullptr of bucket range to `get_bucket_ke…

    …y_for_range_compressed` runtime function (#7712)
    
    * Add null handling logic
    
    * Add test
    
    * Return null sentinel depending on dimension
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    3303746 View commit details
    Browse the repository at this point in the history
  61. Simplify ParallelTopN sort logging (#7720)

    * Allow debug timer log iff single-threaded topK sort
    
    * Improve logging
    
    * Remove unnecessary debug timer for topPermute function
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c167cd2 View commit details
    Browse the repository at this point in the history
  62. Managing CPU_RESULT_MEM of ERM resource type properly (#7711)

    * Link CPU_RESULT_MEM resource (sub)type to appropriate one depending on the flag
    
    * Add tests
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    9dadbf5 View commit details
    Browse the repository at this point in the history
  63. misc cleanup for not implemented functions (#7725)

    @mattpulver okay, I will try next time.
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c4b188e View commit details
    Browse the repository at this point in the history
  64. Add clangd cache folder to .gitignore

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b68c4ec View commit details
    Browse the repository at this point in the history
  65. Added more verbose logging for locks (#7724)

    * Added more verbose logging for locks.  Specificallty, ExecutorLocks, Catalog Locks, and SessionsStore locks.
    
    ---------
    
    Co-authored-by: Misiu Godfrey <[email protected]>
    Signed-off-by: Misiu Godfrey <[email protected]>
    2 people authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fa60ba6 View commit details
    Browse the repository at this point in the history
  66. Support fast count distinct allocator for unserialize resultset (#7715)

    * Support fast count distinct allocator for unserialize resultset
    
    * Protect rsmo during fast allocator initialization
    
    * Address comment
    
    * Address comments v2
    
    * Revert the change to call
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    934bb5c View commit details
    Browse the repository at this point in the history
  67. Restyle and general cleanup refactor of QueryDataLayout (#7728)

    * Replace boost::multi_index with AliasInfoMap class
    
    * Move SQLType <-> BufferAttrType conversions to QueryRenderer/TypeUtils
    
    * Move table id and col id extraction to AnalyzerUtils
    
    * Use SQLTypeInfo equality operator for AttrAliasInfo
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    405bd3a View commit details
    Browse the repository at this point in the history
  68. Changed catalog function to return table names instead of TDs (#7730)

    * Changed catalog function to return table names instead of table desciptors
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    misiugodfrey authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    dab7af1 View commit details
    Browse the repository at this point in the history
  69. Fix FindNVTX.cmake and rebrand nvtx_helpers (#7736)

    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    66c463e View commit details
    Browse the repository at this point in the history
  70. Avoid GDAL exit deadlock (#7731)

    * Remove exitHandler again and put GDAL::init() inside static map accessor
    * Also fix a couple of other unrelated TSAN warning sources
    
    Co-authored-by: Matt Pulver <[email protected]>
    Signed-off-by: Misiu Godfrey <[email protected]>
    2 people authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    70748ae View commit details
    Browse the repository at this point in the history
  71. Avoid fatal error when passing temp geo to ST_Contains etc. (#7737)

    * Replace LOG(FATAL) with just return kNULLT in low-level comparison
    * Abort function match attempt on receipt of kNULLT indicating type incompatibility
    * Add second variant of ST_Contains_MultiPolygon_Point that does not require bounds
    * Add simple tests
    This may be replaced by a fix to carry bounds with temp geo, after discussion with Pearu
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6bdcf45 View commit details
    Browse the repository at this point in the history
  72. Use of parquet file creates fatal error (#7697)

    * Fixup (incorrect) assumption that reading batches from parquet files
    always guarantees a fixed number of levels read
    
    * Improve logging during detect in the case where no valid data is
    obtained
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    115ba2c View commit details
    Browse the repository at this point in the history
  73. Revert "Skip Select.GroupBy Test with valgrind"

    This reverts commit 51ebdc38485b5208762ce6b046cff19b30301bfe.
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    12bb5c5 View commit details
    Browse the repository at this point in the history
  74. Window function support on GPU - Phase #1 (#7167)

    * Add buffer holders for GPU execution
    
    * Rename structures used to codegen
    
    * Introduce WindowFunctionCtx namespace
    
    * Add preparation for GPU execution in window ctx
    
    * Cleanup & improve WindowFunctionContext::compute()
    
    * Improve a logic to build aggregate tree w/ supporting reusing
    
    * Improve segment tree constructor
    
    * Rebase
    
    * Address comments #1
    
    * Address comments #2: refactor bool param functions
    
    * Address comments #3
    
    * Address comments #4: tbb
    
    * Address comments #5
    
    * Address comments #6
    
    * Fixup test failures
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    51f280d View commit details
    Browse the repository at this point in the history
  75. Remove CudaEvent* from DeviceKernel (#7740)

    * Remove DeviceClock class and unnecessary timing event
    
    * Add trailing underscore for variables
    
    * Refactor query timing logic defined in QueryExecutionContext
    
    * Address comments
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    befe47a View commit details
    Browse the repository at this point in the history
  76. Add missing HAVE_CUDA checks when building with TBB backed thrust (#7…

    …742)
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2171285 View commit details
    Browse the repository at this point in the history
  77. Import of parquet file crashes the instance (#7709)

    * Register new threads created during S3 import with debug timers.
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fb1c9f7 View commit details
    Browse the repository at this point in the history
  78. Change flatbuffers namespace to gdal_flatbuffers (#7735)

    * Equivalent of OSGeo/gdal#9313 which will be in the next GDAL
    * Resolves clash with the other default-namespaced flatbuffers symbols in Arrow 9.0.0
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    429d52f View commit details
    Browse the repository at this point in the history
  79. Better implementation of #7737 (#7739)

    * Reinstate fatal error which is useful in future development to catch unhandled types
    * Check for pointer type to avoid getting to the fatal error in the first place
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    913559c View commit details
    Browse the repository at this point in the history
  80. Extract concrete QueryDataTableSQL class (#7744)

    Extract what was BaseQueryDataTableSQL into a standalone
    concrete class
    --
    2.43.0
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    182c196 View commit details
    Browse the repository at this point in the history
  81. Skip logging D2H for varlen value fetching while resultset iteration …

    …(#7732)
    
    * Skip logging D2H for varlen resulset row value fetching while resultset iteration.
    
    * Address comment
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    yoonminnam authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2eb3e17 View commit details
    Browse the repository at this point in the history
  82. Enable Graphics Operations in Table Functions (#7320)

    * Move GfxContext creation to DBHandler
    * Plumb GfxContext to TableFunctionExecutionContext
    * DeviceContexts now owned by GfxContext
    * Implement example graphics TF (headless DrawOneTriangle)
    also (unrelated)
    * Remove a self-#include
    
    ---------
    
    Co-authored-by: Steve Blackmon <[email protected]>
    Signed-off-by: Misiu Godfrey <[email protected]>
    2 people authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    4f2c2c8 View commit details
    Browse the repository at this point in the history
  83. Misiu/sio 1043/raster prototype (#7536)

    First iteration of raster data wrapper.
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    misiugodfrey authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c6474b9 View commit details
    Browse the repository at this point in the history
  84. Re-enable FlatGeobuf export by default (#7734)

    Signed-off-by: Misiu Godfrey <[email protected]>
    simoneves authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    4d94345 View commit details
    Browse the repository at this point in the history
  85. Implement column-level tracking (#7573)

    Signed-off-by: Misiu Godfrey <[email protected]>
    mattgara authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6e76841 View commit details
    Browse the repository at this point in the history
  86. Support multi-threaded command recording and submission (#7754)

    * Add a mutex to VulkanQueue submission
    
    The lock is also invoked prior to checking the internal device_lost_
    state flag
    
    * Add CommandExecutionContext and Vulkan implementation
    
    Holds command components that must be unique per execution thread:
    CommandList, CommandExecutor, VulkanCommandPool
    
    * includes cleanup
    
    Signed-off-by: Misiu Godfrey <[email protected]>
    steveblackmon-mapd authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    add2eeb View commit details
    Browse the repository at this point in the history
  87. Add jwt-cpp to ThirdParty

    Signed-off-by: Misiu Godfrey <[email protected]>
    paul-aiyedun authored and Misiu Godfrey committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6b9e538 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Fixed build by removing GFX Rendering and CPR dependencies

    Misiu Godfrey committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7a7e3c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Remove LLM Test

    Misiu Godfrey committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e06cbc2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Re-add LLM tests and support CPR dependency

    Misiu Godfrey committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    394fe19 View commit details
    Browse the repository at this point in the history