nvartolomei commented on issue #613:
URL: https://github.com/apache/iceberg-cpp/issues/613#issuecomment-4176098933

   Using iceberg-cpp with glue rest catalog could produce incorrect results 
[test_column_names.py](https://github.com/user-attachments/files/26434447/test_column_names.py)
   
   ```
   ============================================================
   TEST: mixed_case
     table: glue_column_test.col_test_mixed_case_04236e66
     requested columns: ['userId', 'FirstName', 'last_NAME', 'isActive', 
'XMLPayload']
     returned columns:  ['userid', 'firstname', 'last_name', 'isactive', 
'xmlpayload']
     RESULT: MISMATCH
                             'userId' -> 'userid' <-- CHANGED
                          'FirstName' -> 'firstname' <-- CHANGED
                          'last_NAME' -> 'last_name' <-- CHANGED
                           'isActive' -> 'isactive' <-- CHANGED
                         'XMLPayload' -> 'xmlpayload' <-- CHANGED
   
   ============================================================
   TEST: non_ascii
     table: glue_column_test.col_test_non_ascii_04236e66
     requested columns: ['naïve_count', 'café_id', '日本語カラム', 'Ціна', 'straße', 
'İstanbul_İd', 'GROẞE_id']
     returned columns:  ['naïve_count', 'café_id', '日本語カラム', 'ціна', 'straße', 
'i̇stanbul_i̇d', 'große_id']
     RESULT: MISMATCH
                        'naïve_count' -> 'naïve_count'
                            'café_id' -> 'café_id'
                             '日本語カラム' -> '日本語カラム'
                               'Ціна' -> 'ціна' <-- CHANGED
                             'straße' -> 'straße'
                        'İstanbul_İd' -> 'i̇stanbul_i̇d' <-- CHANGED
                           'GROẞE_id' -> 'große_id' <-- CHANGED
   
   ============================================================
   TEST: mixed_case_emoji
     table: glue_column_test.col_test_mixed_case_emoji_04236e66
     requested columns: ['UserId🔑', '🔥HotMetric', 'Status_🟢_Active', 
'café_Naïve_💀']
     returned columns:  ['userid🔑', '🔥hotmetric', 'status_🟢_active', 
'café_naïve_💀']
     RESULT: MISMATCH
                            'UserId🔑' -> 'userid🔑' <-- CHANGED
                         '🔥HotMetric' -> '🔥hotmetric' <-- CHANGED
                    'Status_🟢_Active' -> 'status_🟢_active' <-- CHANGED
                       'café_Naïve_💀' -> 'café_naïve_💀' <-- CHANGED
   
   ============================================================
   TEST: emoji
     table: glue_column_test.col_test_emoji_04236e66
     requested columns: ['🔥hot_metric', 'status_🟢', 'col_💀_danger', '🎉🎊🥳']
     returned columns:  ['🔥hot_metric', 'status_🟢', 'col_💀_danger', '🎉🎊🥳']
     RESULT: names round-tripped exactly
   
   ============================================================
   ```


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