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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: File table-valued functions returned only explicitly 
declared CSV columns when `csv_schema` was set, so columns derived from 
`path_partition_keys` disappeared from the table schema. Append the path 
partition columns to the explicit CSV schema, preserving their declared order 
and VARCHAR type.
   
   ### Release note
   
   CSV file table-valued functions now expose path partition columns when 
`csv_schema` is specified.
   
   ### Check List (For Author)
   
   - Test: FE unit test and regression test
       - FE unit test: 
`ExternalFileTableValuedFunctionTest#testCsvSchemaIncludesPathPartitionColumns`
       - Regression test: `test_csv_schema_with_path_partition_keys`
   - Behavior changed: Yes. Path partition columns remain available with an 
explicit CSV schema.
   - 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