From d735445a2f00ff146b7038a958a6be339a03987b Mon Sep 17 00:00:00 2001 From: bowenliang123 Date: Tue, 6 Jan 2026 12:08:26 +0800 Subject: [PATCH] fix typo --- pyobvector/client/exceptions.py | 4 ++-- tests/test_partition_compile.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyobvector/client/exceptions.py b/pyobvector/client/exceptions.py index 495f148..9434f3b 100644 --- a/pyobvector/client/exceptions.py +++ b/pyobvector/client/exceptions.py @@ -85,13 +85,13 @@ class ExceptionsMessage: "Range expression is necessary when partition type is Range" ) PartitionRangeColNameListMissing = ( - "Column name list is necessary when parititon type is RangeColumns" + "Column name list is necessary when partition type is RangeColumns" ) PartitionListExprMissing = ( "List expression is necessary when partition type is List" ) PartitionListColNameListMissing = ( - "Column name list is necessary when parititon type is ListColumns" + "Column name list is necessary when partition type is ListColumns" ) PartitionHashNameListAndPartCntMissing = ( "One of hash_part_name_list and part_count must be set when partition type is Hash" diff --git a/tests/test_partition_compile.py b/tests/test_partition_compile.py index b2eef7d..de26927 100644 --- a/tests/test_partition_compile.py +++ b/tests/test_partition_compile.py @@ -6,7 +6,7 @@ logger.setLevel(logging.DEBUG) -class ObParititonTest(unittest.TestCase): +class ObPartitionTest(unittest.TestCase): def setUp(self) -> None: self.maxDiff = None @@ -79,7 +79,7 @@ def test_hash_and_key_partition(self): key_part.do_compile(), "PARTITION BY KEY (id,gmt_create) PARTITIONS 10" ) - def test_range_columns_with_sub_parititon(self): + def test_range_columns_with_sub_partition(self): range_columns_part = ObRangePartition( True, range_part_infos=[