fallintoplace opened a new pull request, #740:
URL: https://github.com/apache/iceberg-cpp/pull/740

   ## Summary
   
   - Reject empty REST namespace separators in namespace encode/decode helpers.
   - Reject empty namespace separators when constructing `ResourcePaths`.
   - Add regression coverage for direct helper calls and the resource path 
config boundary.
   
   ## Why
   
   `DecodeNamespace` advances by `separator.size()` after each match. An empty 
separator never advances the cursor, so a misconfigured separator can hang 
namespace parsing.
   
   ## Testing
   
   - `cmake -S . -B build-rest -G Ninja -DICEBERG_BUILD_BUNDLE=OFF 
-DICEBERG_BUILD_REST=ON -DICEBERG_BUILD_HIVE=OFF 
-DICEBERG_BUILD_SQL_CATALOG=OFF`
   - `cmake --build build-rest --target rest_catalog_test`
   - `ctest --test-dir build-rest -R rest_catalog_test --output-on-failure`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to