Phoenix500526 opened a new issue, #12396:
URL: https://github.com/apache/arrow-rs/issues/12396

   ### Is your feature request related to a problem or challenge?
   
   Selected `arrow-string` tests repeat setup and assertions or hide 
independent parameter combinations in nested loops. This issue tracks the 
`arrow-string` portion of #12328.
   
   ### Describe the solution you'd like
   
   Use `rstest` for the following selected groups:
   
   - Parameterize the two extreme substring start/length tests, preserving all 
combinations and the separate checks with explicit expected values.
   - Consolidate null propagation tests for LIKE functions across 
Utf8/Utf8View, pattern paths, and scalar/array combinations. Preserve the 
existing Miri exclusions.
   - Consolidate the repeated string length and bit-length tests across Utf8, 
LargeUtf8, and Utf8View while retaining the original data tables and 
Int32/Int64 result checks.
   - Split dynamic concatenation tests into ordinary variable-width arrays, 
View arrays, and fixed-size binary arrays; parameterize the first two groups 
while preserving the View-specific long-value and 12-byte-boundary cases.
   
   Preserve existing inputs, expected results, and behavioral coverage. Keep 
data-generation and stateful loops where they remain clearer. Production 
behavior and public APIs are outside this scope.
   
   ### Describe alternatives you've considered
   
   Keep tests unchanged where parameterization does not improve readability. 
The separately identified `bit_length_null_utf8view` naming/coverage mismatch 
will be handled independently.
   
   ### Additional context
   
   Part of #12328. Implementation and validation are in progress; no PR yet.
   
   ### Willingness to contribute
   
   I plan to contribute to this feature independently.
   


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

Reply via email to