doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] INTERNAL_ERROR happened when read hive table from hive catalog

Open zengchen00 opened this issue 3 years ago • 5 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Version

doris: 2.0.0 beta hive: 3.1.2

What's Wrong?

I create hive catalog and succeed select data from hive_catalog.dwd.table_name first time. image

But after hive do ' insert overwrite table table_name select ........ ',doris same sql query again,An error has occurred: image

tail -f be.out: image

What You Expected?

when hive data change , I can select new data from doris hive catalog

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

zengchen00 avatar Aug 15 '23 04:08 zengchen00

你得用 REFRESH TABLE hive_catalog.dwd.xxx 来重新刷新表元数据,不然查询的是历史信息!

w517424787 avatar Aug 16 '23 08:08 w517424787

你得用 REFRESH TABLE hive_catalog.dwd.xxx 来重新刷新表元数据,不然查询的是历史信息!

当时 REFRESH catalog,REFRESH database,REFRESH table 都试过了还是报错

zengchen00 avatar Aug 18 '23 01:08 zengchen00

不过过了一天后再查,就正常了,是我哪里没设置对吗?doris 还是 hive ?

zengchen00 avatar Aug 18 '23 02:08 zengchen00

You can set auto-refresh when you create the catalog

ixzc avatar Aug 30 '23 07:08 ixzc

升级到 2.0.1 之后,就正常了

zengchen00 avatar Sep 15 '23 06:09 zengchen00