hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Chovan (Jira)" <>
Subject [jira] [Updated] (HIVE-22663) Quote all table and column names or do not quote any
Date Fri, 17 Jan 2020 10:14:00 GMT


Zoltan Chovan updated HIVE-22663:
    Attachment: HIVE-22663.6.patch

> Quote all table and column names or do not quote any
> ----------------------------------------------------
>                 Key: HIVE-22663
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Standalone Metastore
>    Affects Versions: 4.0.0
>            Reporter: Ashutosh Bapat
>            Assignee: Zoltan Chovan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22663.2.patch, HIVE-22663.3.patch, HIVE-22663.4.patch, HIVE-22663.5.patch,
HIVE-22663.6.patch, HIVE-22663.patch
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> The change in HIVE-22546 is causing following stack trace when I run Hive with PostgreSQL
as backend db for the metastore.
> 0: jdbc:hive2://localhost:10000> create database dumpdb with ('repl.source.for'='1,2,3');0:
jdbc:hive2://localhost:10000> create database dumpdb with ('repl.source.for'='1,2,3');Error:
Error while compiling statement: FAILED: ParseException line 1:28 missing KW_DBPROPERTIES
at '(' near '<EOF>' (state=42000,code=40000)0: jdbc:hive2://localhost:10000> create
database dumpdb with dbproperties ('repl.source.for'='1,2,3');ERROR : FAILED: Hive Internal
Error: org.apache.hadoop.hive.ql.lockmgr.LockException(Error communicating with the metastore)org.apache.hadoop.hive.ql.lockmgr.LockException:
Error communicating with the metastore at org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.commitTxn(
at org.apache.hadoop.hive.ql.Driver.releaseLocksAndCommitOrRollback( at org.apache.hadoop.hive.ql.Driver.releaseLocksAndCommitOrRollback(
at org.apache.hadoop.hive.ql.Driver.runInternal(
> ... stack trace clipped
> java.util.concurrent.ThreadPoolExecutor$ at
by: MetaException(message:Unable to update transaction database org.postgresql.util.PSQLException:
ERROR: relation "materialization_rebuild_locks" does not exist  Position: 13 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
at org.postgresql.core.v3.QueryExecutorImpl.processResults( at
org.postgresql.core.v3.QueryExecutorImpl.execute( at org.postgresql.jdbc.PgStatement.executeInternal(
at org.postgresql.jdbc.PgStatement.execute( at 
> This happens because the table names in all the queries in (including
the one at 1312, which causes this stack trace) are not quoting the table names. All the tablenames
and column names should be quoted there. Just the change in HIVE-22546 won't suffice.

This message was sent by Atlassian Jira

View raw message