Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue querying tables of hive running metastore on derby #19163

Open
vasilyev76 opened this issue Mar 9, 2023 · 3 comments
Open

Issue querying tables of hive running metastore on derby #19163

vasilyev76 opened this issue Mar 9, 2023 · 3 comments

Comments

@vasilyev76
Copy link

Presto 0.280, Hive 3.1.3 using derby metastore.

Query - SHOW TABLES FROM hive.default;
Will get timeout and in the hive log

hive --service metastore -hiveconf hive.root.logger=DEBUG,console

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')

Seems to be an issue for Hive>2.3+
Also known in Trino and fixed there - trinodb/trino#951

@rohanpednekar
Copy link
Contributor

@vasilyev76 Do you think you can backport and open a PR, we will get it reviewed and merged.

cc: @v-jizhang

@iq180fq200
Copy link

I ran into the same issue, how did you end up solving it?

@agrawalreetika
Copy link
Member

This may be fixed by #24466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants