[
https://issues.apache.org/jira/browse/HIVE-26507?focusedWorklogId=805621&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-805621
]
ASF GitHub Bot logged work on HIVE-26507:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Sep/22 18:55
Start Date: 01/Sep/22 18:55
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #3570:
URL: https://github.com/apache/hive/pull/3570#issuecomment-1234661475
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=3570)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=BUG)
[1
Bug](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=VULNERABILITY)
[0
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3570&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3570&resolved=false&types=SECURITY_HOTSPOT)
[0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3570&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=CODE_SMELL)
[3 Code
Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3570&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3570&metric=coverage&view=list)
No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3570&metric=duplicated_lines_density&view=list)
No Duplication information
Issue Time Tracking
-------------------
Worklog Id: (was: 805621)
Time Spent: 20m (was: 10m)
> Do not allow hive to iceberg migration if source table contains CHAR or
> VARCHAR columns
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-26507
> URL: https://issues.apache.org/jira/browse/HIVE-26507
> Project: Hive
> Issue Type: Bug
> Reporter: Rajesh Balamohan
> Assignee: László Pintér
> Priority: Major
> Labels: iceberg, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> "alter table" statements can be used for generating iceberg metadata
> information (i.e for converting external tables -> iceberg tables).
> As part of this process, it also converts certain datatypes to iceberg
> compatible types (e.g char -> string). "iceberg.mr.schema.auto.conversion"
> enables this conversion.
> This could cause certain issues at runtime. Here is an example
> {noformat}
> Before conversion:
> ==================
> -- external table
> select count(*) from customer_demographics where cd_gender = 'F' and
> cd_marital_status = 'U' and cd_education_status = '2 yr Degree';
> 27440
> after conversion:
> =================
> -- iceberg table
> select count(*) from customer_demographics where cd_gender = 'F' and
> cd_marital_status = 'U' and cd_education_status = '2 yr Degree';
> 0
> select count(*) from customer_demographics where cd_gender = 'F' and
> cd_marital_status = 'U' and trim(cd_education_status) = '2 yr Degree';
> 27440
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
