You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marton Bod (Jira)" <ji...@apache.org> on 2021/06/09 09:21:00 UTC

[jira] [Created] (HIVE-25222) Fix reading Iceberg tables with a comma in column names

Marton Bod created HIVE-25222:
---------------------------------

             Summary: Fix reading Iceberg tables with a comma in column names
                 Key: HIVE-25222
                 URL: https://issues.apache.org/jira/browse/HIVE-25222
             Project: Hive
          Issue Type: Bug
            Reporter: Marton Bod
            Assignee: Marton Bod


When using a table with a column name containing a comma (e.g. `employ,ee`), reading an Iceberg table fails because we rely on the property "hive.io.file.readcolumn.names" which encodes the read columns in a comma-separated list, put together by the ColumnProjectionUtils class.

Because it's comma-separated in all cases, it will produce a string like: "id,birth_date,employ,ee" which can cause problems for Iceberg readers which use this string list to construct their expected read schema.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)