100 Star 330 Fork 295

openLooKeng / hetu-core

 / 详情

The error prompt is not expected when catalog is not of Hive data source

Todo
Defect 成员
创建于  
2020-09-04 23:07

Software Environment:

  • OpenLooKeng version (source or binary):

  • OS platform & distribution (eg., Linux Ubuntu 16.04):

  • Java version:

Describe the current behavior

Sql statement fail but show:Column 'cc_call_center_sk' is not cacheable

Describe the expected behavior

The error prompt is not expected when catalog is not of Hive data source
Show an error when trying to cache non hive data sources

Steps to reproduce the issue

【Test Step】

  1. Ensure SplitCacheMap feature is enabled - Add following property to "config.properties".

    hetu.split-cache-map.enabled=true

2.Use tpcds catalog

use tpcds.sf1

  1. Execute cache table sql statement.

    cache table call_center where cc_call_center_sk>0;

【Result】

Sql statement fail but show:Column 'cc_call_center_sk' is not cacheable

【Expect Result】

Sql Statement should fail with message: "Table tpcds.sf1.call_center cannot be cached. Only tables in Hive catalog can be cached".

Related log/screenshots

Special notes for this issue

评论 (0)

jessica-surya 创建了缺陷
jessica-surya 关联仓库设置为openLooKeng/hetu-core
yumei 负责人设置为jessica-surya
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Java
1
https://gitee.com/openlookeng/hetu-core.git
git@gitee.com:openlookeng/hetu-core.git
openlookeng
hetu-core
hetu-core

搜索帮助

53164aa7 5694891 3bd8fe86 5694891