Gabriel39 opened a new pull request, #67166:
URL: https://github.com/apache/doris/pull/67166
### What problem does this PR solve?
Issue Number: N/A
Problem Summary:
Doris normalized nested STRUCT field names before building connector
create-table requests. As a result, creating an Iceberg table through Doris
changed mixed-case nested field names in the external schema and caused
compatibility checks from other engines to fail.
This change carries the original field spelling separately from the
lowercase runtime lookup name. Connector schemas and metadata display use the
original spelling, while thrift sent to BE continues using the normalized name.
### Release note
Fix mixed-case nested field names being lowercased when Doris creates an
Iceberg table.
### Check List (For Author)
- Test
- [ ] Regression test
- [x] Unit Test
- [ ] Manual test
- [ ] No need to test or manual test.
- Behavior changed:
- [ ] No.
- [x] Yes. Mixed-case nested field spelling is now preserved in
connector schemas and metadata output.
- Does this need documentation?
- [x] No.
- [ ] Yes.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
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]