dongkelun commented on pull request #3415:
URL: https://github.com/apache/hudi/pull/3415#issuecomment-903237562


   @pengzhiwei2018 Hello, can we support ignoring case when column names 
match?If possible, the code will be modified as follows:
   
   ```scala
   val resolvedSourceColumnNamesWithoutMetaFields = 
resolvedSourceOutputWithoutMetaFields.map(_.name.toLowerCase)
   val targetColumnNamesWithoutMetaFields = 
targetOutputWithoutMetaFields.map(_.name.toLowerCase)
   
   val sourceColNameAttrMap = resolvedSourceOutputWithoutMetaFields.map(attr => 
(attr.name.toLowerCase, attr)).toMap
   val sourceAttr = sourceColNameAttrMap(targetAttr.name.toLowerCase)
   ```
   And it works fine if this [PR](https://github.com/apache/hudi/pull/3517) is 
merged,Do I need to submit this together with the PR above, or submit a PR 
separately
   


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