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 2023/02/14 03:17:00 UTC

[jira] [Work logged] (HIVE-21614) Derby does not support CLOB comparisons

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

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

                Author: ASF GitHub Bot
            Created on: 14/Feb/23 03:16
            Start Date: 14/Feb/23 03:16
    Worklog Time Spent: 10m 
      Work Description: hankfanchiu commented on PR #2484:
URL: https://github.com/apache/hive/pull/2484#issuecomment-1429051599

   > Are you still working on this issue now?
   
   @dengzhhu653, I am not.




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

    Worklog Id:     (was: 845268)
    Time Spent: 2h 50m  (was: 2h 40m)

> Derby does not support CLOB comparisons
> ---------------------------------------
>
>                 Key: HIVE-21614
>                 URL: https://issues.apache.org/jira/browse/HIVE-21614
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.3.4, 3.0.0
>            Reporter: Vlad Rozov
>            Assignee: Hank Fanchiu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> HiveMetaStoreClient.listTableNamesByFilter() with non empty filter causes exception with Derby DB:
> {noformat}
> Caused by: ERROR 42818: Comparisons between 'CLOB (UCS_BASIC)' and 'CLOB (UCS_BASIC)' are not supported. Types must be comparable. String types must also have matching collation. If collation does not match, a possible solution is to cast operands to force them to the default collation (e.g. SELECT tablename FROM sys.systables WHERE CAST(tablename AS VARCHAR(128)) = 'T1')
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.BinaryComparisonOperatorNode.bindComparisonOperator(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.BinaryComparisonOperatorNode.bindExpression(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.AndNode.bindExpression(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.SelectNode.bindExpressions(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bindExpressions(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
> 	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
> 	... 42 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)