Files
doris/docs/zh-CN/sql-reference/sql-statements/Data Definition/REFRESH DATABASE.md
qiye 92b690f3eb [feature-wip](iceberg) Step2: add table creation strict mode and support refresh iceberg table or db. (#7981)
1. Add `iceberg_table_creation_strict_mode` in `fe.conf` to control iceberg external table creation, when data type  is not supported in Doris.
2. Add `REFRESH` syntax to synchronize the Iceberg table and database.
3. Support create Iceberg external table with specific column definitions.
2022-02-10 15:08:04 +08:00

1.3 KiB

title, language
title language
REFRESH DATABASE zh-CN

REFRESH DATABASE

Description

该语句用于同步远端 Iceberg 数据库,会将 Doris 当前数据库下的 Iceberg 外表删除重建,非 Iceberg 外表不受影响。
语法:
    REFRESH DATABASE db_name;

说明:
    1) 仅针对 Doris 中挂载的 Iceberg 数据库有效。

Example

1. 刷新数据库 iceberg_test_db
    REFRESH DATABASE iceberg_test_db;

keyword

REFRESH,DATABASE