You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC
[jira] [Updated] (HIVE-25322) Partition type checking is not strict and converts values before insertion
[ https://issues.apache.org/jira/browse/HIVE-25322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-25322:
---------------------------------------
Fix Version/s: (was: 4.0.0)
I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.
According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.
> Partition type checking is not strict and converts values before insertion
> --------------------------------------------------------------------------
>
> Key: HIVE-25322
> URL: https://issues.apache.org/jira/browse/HIVE-25322
> Project: Hive
> Issue Type: Bug
> Affects Versions: 3.1.2, 4.0.0
> Reporter: Adesh Kumar Rao
> Assignee: Adesh Kumar Rao
> Priority: Major
>
> Reproducible case:
> {code:java}
> create table testpartitioned (col1 int) partitioned by (p1 int);
> insert into testpartitioned partition(p1=1.1) values (1);
> insert into testpartitioned partition(p1=true) values (1);
> select * from testpartitioned;
> +-----------------------+---------------------+
> | testpartitioned.col1 | testpartitioned.p1 |
> +-----------------------+---------------------+
> | 1 | 1 |
> | 1 | 1 |
> +-----------------------+---------------------+
>
> {code}
>
> This happens when `hive.typecheck.on.insert` is enabled.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)