0AyanamiRei opened a new pull request, #67408:
URL: https://github.com/apache/doris/pull/67408

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: A file table-valued function could append a path partition 
column whose name already existed in the inferred file schema. The duplicate 
schema made direct column references ambiguous and allowed `SELECT *` to reach 
an internal backend error. Reject case-insensitive conflicts while constructing 
the schema so the invalid configuration fails during analysis.
   
   ### Release note
   
   File table-valued functions now reject path partition columns that conflict 
with existing file columns.
   
   ### Check List (For Author)
   
   - Test: Regression test and manual test
       - Regression test: `test_path_partition_column_collision`
       - Manual test: `DESC FUNCTION` and `SELECT *` with a conflicting local 
CSV path partition
   - Behavior changed: Yes. Conflicting path partition columns now return a 
clear analysis error.
   - Does this need documentation: 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