Skip to content

Commit 13fd131

Browse files
committed
modify docker configuration for test, fix erro in evaluator
1 parent 14809ec commit 13fd131

File tree

4 files changed

+70
-164
lines changed

4 files changed

+70
-164
lines changed

sqlmesh/core/engine_adapter/doris.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,17 +647,16 @@ def _create_table_from_columns(
647647
table_description: Optional table description.
648648
column_descriptions: Optional column descriptions.
649649
"""
650-
# Set default replication_allocation to 1 for testing environments if not specified
651650
table_properties = kwargs.get("table_properties", {})
652651

653-
# Set default replication_allocation to 1 for testing environments if not specified
652+
# Set default replication_num to 1 for testing environments if not specified
654653
if (
655654
"replication_num" not in table_properties
656655
and "replication_allocation" not in table_properties
657656
):
658-
table_properties["replication_allocation"] = "tag.location.default: 1"
657+
table_properties["replication_num"] = "1"
659658
logger.info(
660-
f"[Doris] Added default replication_allocation for testing: {table_properties['replication_allocation']}"
659+
f"[Doris] Added default replication_num for testing: {table_properties['replication_num']}"
661660
)
662661

663662
# Convert primary_key to unique_key for Doris (Doris doesn't support primary keys)

0 commit comments

Comments
 (0)