Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyobvector/client/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_partition_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
logger.setLevel(logging.DEBUG)


class ObParititonTest(unittest.TestCase):
class ObPartitionTest(unittest.TestCase):
def setUp(self) -> None:
self.maxDiff = None

Expand Down Expand Up @@ -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=[
Expand Down