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.
47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
---
|
|
{
|
|
"title": "REFRESH DATABASE",
|
|
"language": "zh-CN"
|
|
}
|
|
---
|
|
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
# 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
|
|
|