File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
codecs/text/src/test/java/com/datastax/oss/dsbulk/codecs/text/string Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ void should_not_convert_from_invalid_external() {
9292 assertThat (codec ).cannotConvertFromExternal ("[6.646329843]" );
9393 }
9494
95- // To keep usage consistent with VectorCodec we confirm that we support encoding when too many
96- // elements are available but not when too few are. Note that it's actually VectorCodec that
97- // enforces this constraint so we have to go through encode() rather than the internal/external
98- // methods .
95+ // VectorCodec enforces strict dimension matching: encoding fails for both too-many and too-few
96+ // elements. We have to go through encode() rather than the internal/external methods because
97+ // the dimension check is performed by VectorCodec during binary encoding, not during
98+ // String-to-CqlVector conversion .
9999 @ Test
100100 void should_fail_to_encode_too_many_or_too_few () {
101101
You can’t perform that action at this time.
0 commit comments