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

无法显示hive的表 #22

Open
ConradWen opened this issue Jan 28, 2023 · 1 comment
Open

无法显示hive的表 #22

ConradWen opened this issue Jan 28, 2023 · 1 comment

Comments

@ConradWen
Copy link

现象描述:无法显示出hive的表
安装环境:java1.8,win10
(1)Hive是CDH6.0.0的版本,hive-common-2.1.1,驱动是从Cloudera官网下载的HiveJDBC-2.6.19.1022中的ClouderaHiveJDBC42-2.6.19.1022,驱动包为HiveJDBC42.jar,使用的类名为com.cloudera.hive.jdbc.HS2Driver
图片

(2)确定驱动包是上传成功的

(3)配置好数据驱动后,点击测试,测试通过,点击数据源,无法显示出数据库的表(有几率报错:无法解析表结构)
图片
图片

(4)在数据源中无法显示表,但是在数据集中可以通过sql查询到表
图片

(5)在看板中也能正常显示

@datageartech
Copy link
Owner

对于某些类型的数据源,系统默认的数据表过滤规则可能不适用,导致无法显示任何数据表。
新发布的5.0.0版本,可以通过在config/application.properties配置文件中开启dbmeta.tabletypes*配置项自定义数据表过滤规则。 选中数据源条目后,点击右上角下拉菜单中的【数据库信息】条目,可以查看其定义的表类型。

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

No branches or pull requests

2 participants