File tree Expand file tree Collapse file tree 4 files changed +70
-164
lines changed
tests/core/engine_adapter Expand file tree Collapse file tree 4 files changed +70
-164
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments