【已解决】paimon catalog 查询报错 UnknownHostException

Viewed 39

新建 paimon 表后第一次插入数据查询没有问题,第二次插入数据报错

-- step 1:新建 paimon 表,插入数据
create catalog paimon_catalog with (
    'type' = 'paimon',
    'warehouse' = 'hdfs://realtime001:8020/paimon/fs'
);

create database if not exists paimon_catalog.netflow;

create table if not exists paimon_catalog.netflow.online_platform (
    id                                  bigint              comment 'mysql表id',
    primary key (id) not enforced
) with (
     'file.format' = 'orc'
);

insert into paimon_catalog.netflow.online_platform (id) values(1);

-- step 2:再次插入数据
insert into paimon_catalog.netflow.online_platform (id) values(2);

通过 doris 第一次查询:
image.png

第二次查询报错:
image.png

1 Answers