kush-manish opened a new pull request, #27762:
URL: https://github.com/apache/datafusion/pull/27762

   ## Which issue does this PR close?
   
   - Part of #27239.
   
   ## Rationale for this change
   
   Converts escaped-regex error assertions in 5 `sqllogictest` files into exact 
plain-text `----` error blocks for readability and stricter exact-message 
matching, following the recipe in #27239.
   
   ## What changes are included in this PR?
   
   Converted 14 escaped-regex `DataFusion error:` records across 5 files 
(verified that every plain-text message equals the original regex with escapes 
removed):
   
   - `datafusion/sqllogictest/test_files/eliminate_join_distinct.slt` (2 
records)
   - `datafusion/sqllogictest/test_files/map.slt` (4 records)
   - `datafusion/sqllogictest/test_files/predicates.slt` (4 records)
   - `datafusion/sqllogictest/test_files/qualify.slt` (2 records)
   - `datafusion/sqllogictest/test_files/type_coercion.slt` (2 records)
   
   ## What is the testing strategy for this PR?
   
   Ran `sqllogictests` locally on all 5 modified files:
   
   ```bash
   cargo test -p datafusion-sqllogictest --test sqllogictests -- map.slt
   cargo test -p datafusion-sqllogictest --test sqllogictests -- predicates.slt
   cargo test -p datafusion-sqllogictest --test sqllogictests -- qualify.slt
   cargo test -p datafusion-sqllogictest --test sqllogictests -- 
type_coercion.slt
   cargo test -p datafusion-sqllogictest --test sqllogictests -- 
eliminate_join_distinct.slt
   ```
   
   All 5 passed, and `git grep` confirms 0 remaining matching escaped-regex 
error lines in these 5 files.
   
   ## Are there any user-facing changes?
   
   No.


-- 
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