You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/17 19:02:00 UTC

[jira] [Work logged] (HIVE-25871) Hive should set name mapping table property for migrated Iceberg tables

     [ https://issues.apache.org/jira/browse/HIVE-25871?focusedWorklogId=710112&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-710112 ]

ASF GitHub Bot logged work on HIVE-25871:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jan/22 19:01
            Start Date: 17/Jan/22 19:01
    Worklog Time Spent: 10m 
      Work Description: boroknagyz opened a new pull request #2948:
URL: https://github.com/apache/hive/pull/2948


   …Iceberg tables
   
   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute
     2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/HIVE/summary
     3. Ensure you have added or run the appropriate tests for your PR: 
     4. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP]HIVE-XXXXX:  Your PR title ...'.
     5. Be sure to keep the PR description updated to reflect all changes.
     6. Please write your PR title to summarize what this PR proposes.
     7. If possible, provide a concise example to reproduce the issue for a faster review.
   
   -->
   
   ### What changes were proposed in this pull request?
   With this PR, Hive will set table property 'schema.name-mapping.default' for migrated Iceberg tables.
   The value of this property contains a mapping between Iceberg field ids and column names.
   
   ### Why are the changes needed?
   This table property is useful for column projection of legacy data files:
   https://iceberg.apache.org/#spec/#column-projection
   
   ### Does this PR introduce _any_ user-facing change?
   When users migrate a legacy table to Iceberg, this new table property will be set.
   
   ### How was this patch tested?
   Extended unit test TestHiveIcebergMigration.
   Q tests.
   


-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 710112)
    Remaining Estimate: 0h
            Time Spent: 10m

> Hive should set name mapping table property for migrated Iceberg tables
> -----------------------------------------------------------------------
>
>                 Key: HIVE-25871
>                 URL: https://issues.apache.org/jira/browse/HIVE-25871
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hive should  set the name-mapping table property during table migration.
> It would be useful for [column projection|https://iceberg.apache.org/#spec/#column-projection] for files without field ids.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)