AhmedDlshad007 opened a new pull request, #1281:
URL: https://github.com/apache/iceberg-go/pull/1281

   ## What
   
   Adds a table-driven `TestSplitLineageMetadataFields` covering the 
previously-untested `caseSensitive == false` branch of 
`splitLineageMetadataFields` (`table/scanner.go`), as requested in #1275.
   
   `splitLineageMetadataFields` matches `_row_id` / 
`_last_updated_sequence_number` via `strings.EqualFold` when `caseSensitive` is 
false, but every existing `Scan` test sets `caseSensitive: true`, so that 
branch was never exercised.
   
   The new test asserts:
   
   - **case-insensitive:** mixed-case `_ROW_ID` and 
`_Last_Updated_Sequence_Number` are routed into the lineage fields;
   - **case-sensitive control:** the same mixed-case names fall through to user 
fields;
   - **case-sensitive:** exact lineage column names still match.
   
   No production code changes; test-only.
   
   Closes #1275
   


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