@@ -611,6 +611,10 @@ INSTANTIATE_TEST_SUITE_P(
611611 .small_literal = Literal::Decimal (123456 , 6 , 2 ),
612612 .large_literal = Literal::Decimal (234567 , 6 , 2 ),
613613 .equal_literal = Literal::Decimal (123456 , 6 , 2 )},
614+ ComparisonLiteralTestParam{.test_name = " DecimalDifferentScales" ,
615+ .small_literal = Literal::Decimal (123456 , 6 , 2 ),
616+ .large_literal = Literal::Decimal (1234567 , 7 , 3 ),
617+ .equal_literal = Literal::Decimal (1234560 , 7 , 3 )},
614618 ComparisonLiteralTestParam{.test_name = " String" ,
615619 .small_literal = Literal::String (" apple" ),
616620 .large_literal = Literal::String (" banana" ),
@@ -620,11 +624,21 @@ INSTANTIATE_TEST_SUITE_P(
620624 .small_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x02 }),
621625 .large_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x03 }),
622626 .equal_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x02 })},
627+ ComparisonLiteralTestParam{
628+ .test_name = " BinaryDifferentLengths" ,
629+ .small_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x02 }),
630+ .large_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x02 , 0x03 }),
631+ .equal_literal = Literal::Binary (std::vector<uint8_t >{0x01 , 0x02 })},
623632 ComparisonLiteralTestParam{
624633 .test_name = " Fixed" ,
625634 .small_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x02 }),
626635 .large_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x03 }),
627636 .equal_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x02 })},
637+ ComparisonLiteralTestParam{
638+ .test_name = " FixedDifferentLengths" ,
639+ .small_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x02 }),
640+ .large_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x02 , 0x03 }),
641+ .equal_literal = Literal::Fixed (std::vector<uint8_t >{0x01 , 0x02 })},
628642 ComparisonLiteralTestParam{.test_name = " Date" ,
629643 .small_literal = Literal::Date (100 ),
630644 .large_literal = Literal::Date (200 ),
0 commit comments