【详述】问题详细描述
有两张表:a表在hive中,a表location在腾讯云cos,b表建在starrocks中,
在starrocks中创建hive_catalog,用于访问hive表,现希望通过insert into b select * from a方式将a表的数据导入到b表。
测试结果:
1、select col1,col2 from hive_catalog.bi_dw.dws_device_energy_metering_hour where dt =‘20221103’
可以正常查询数据
2、insert overwrite tuya_basic.b select col1,col2 from hive_catalog.bi_dw.a where dt =‘20221103’
报ERROR 1064 (HY000): com.starrocks.common.DdlException: get partition detail failed: com.starrocks.common.DdlException: get hive partition meta data failed: 错误,截图如下
【StarRocks版本】2.4