Skip to content

Commit d735445

Browse files
committed
fix typo
1 parent f47fde1 commit d735445

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyobvector/client/exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ class ExceptionsMessage:
8585
"Range expression is necessary when partition type is Range"
8686
)
8787
PartitionRangeColNameListMissing = (
88-
"Column name list is necessary when parititon type is RangeColumns"
88+
"Column name list is necessary when partition type is RangeColumns"
8989
)
9090
PartitionListExprMissing = (
9191
"List expression is necessary when partition type is List"
9292
)
9393
PartitionListColNameListMissing = (
94-
"Column name list is necessary when parititon type is ListColumns"
94+
"Column name list is necessary when partition type is ListColumns"
9595
)
9696
PartitionHashNameListAndPartCntMissing = (
9797
"One of hash_part_name_list and part_count must be set when partition type is Hash"

tests/test_partition_compile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
logger.setLevel(logging.DEBUG)
77

88

9-
class ObParititonTest(unittest.TestCase):
9+
class ObPartitionTest(unittest.TestCase):
1010
def setUp(self) -> None:
1111
self.maxDiff = None
1212

@@ -79,7 +79,7 @@ def test_hash_and_key_partition(self):
7979
key_part.do_compile(), "PARTITION BY KEY (id,gmt_create) PARTITIONS 10"
8080
)
8181

82-
def test_range_columns_with_sub_parititon(self):
82+
def test_range_columns_with_sub_partition(self):
8383
range_columns_part = ObRangePartition(
8484
True,
8585
range_part_infos=[

0 commit comments

Comments
 (0)