starrocks写入hive分区表时报分区字段值为null错误

在cdp 7.1.7sp2版本的hive(版本3.1.3)中使用下面的语句创建了分区表test.test_sr_insert2:
CREATE EXTERNAL TABLE test.test_sr insert2(code string) PARTITIONED BY(part_dt string)
在3.4.9版本的starrocks 中使用下面语句创建hive_catalog Catalog:
CREATE EXTERNAL CATALOG hive catalog
PROPERTIES(“hive.metastore.type”=“hive”,
“hive.metastore.uris” = “thrift://gac-bd-pro-nn01.bd.gac.com:9083,thrift://gac-bd-pro-nn02.bd.gac.com:9083”,
“type”= “hive”,
“enable recursive listing”="true
):
在hue中执行insert into test.test_sr_insert2 select 'test01 as coding ,‘2025-12-30’ as part_dt;执行成功
在hue中执行select * from test.test_sr_insert2能查看到刚才插入的数据
在starrocks中执行下面语句:
use hive_catalog;
set enable_write_hive_external_table = true;
insert into hive_catalog.test.test_sr_insert2 select ‘test02’ as coding ,‘2025-12-31’ as part_dt;
结果报错:
SQL错误[1064] [42000]: null value in entry: part_dt=2025-12-31=null