hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sankar Hariappan (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-24258) [CachedStore] Data miss match between cachedstore and rawstore
Date Fri, 23 Oct 2020 10:58:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-24258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sankar Hariappan updated HIVE-24258:
------------------------------------
    Description: 
Description

Objects like table name, db name, column name etc are case insensitive as per HIVE contract
but standalone metastore cachedstore is case sensitive.  As result of which there is miss
match in rawstore output and cachedstore output.

Example - 

expected:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1, key_seq:1,
pk_name:pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]> 

but was:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1, key_seq:1,
pk_name:Pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]>

  was:
Description

Objects like table name, db name, column name etc are case incentives as per HIVE contract
but standalone metastore cachedstore is case sensitive.  As result of which there is miss
match in rawstore output and cachedstore output.

Example - 

expected:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1, key_seq:1,
pk_name:pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]> 

but was:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1, key_seq:1,
pk_name:Pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]>


> [CachedStore] Data miss match between cachedstore and rawstore
> --------------------------------------------------------------
>
>                 Key: HIVE-24258
>                 URL: https://issues.apache.org/jira/browse/HIVE-24258
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ashish Sharma
>            Assignee: Sankar Hariappan
>            Priority: Major
>
> Description
> Objects like table name, db name, column name etc are case insensitive as per HIVE contract
but standalone metastore cachedstore is case sensitive.  As result of which there is miss
match in rawstore output and cachedstore output.
> Example - 
> expected:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1,
key_seq:1, pk_name:pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]>

> but was:<[SQLPrimaryKey(table_db:test_table_ops, table_name:tbl, column_name:col1,
key_seq:1, pk_name:Pk1, enable_cstr:false, validate_cstr:false, rely_cstr:false, catName:hive)]>



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

Mime
View raw message