You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2021/02/18 01:49:27 UTC
[GitHub] [cassandra] yifan-c opened a new pull request #907: CASSANDRA-16429: Fix incorrect encoding for strings can be UTF8
yifan-c opened a new pull request #907:
URL: https://github.com/apache/cassandra/pull/907
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
[GitHub] [cassandra] ekaterinadimitrova2 commented on a change in pull request #907: CASSANDRA-16429: Fix incorrect encoding for strings can be UTF8
Posted by GitBox <gi...@apache.org>.
ekaterinadimitrova2 commented on a change in pull request #907:
URL: https://github.com/apache/cassandra/pull/907#discussion_r580287782
##########
File path: test/unit/org/apache/cassandra/transport/SerDeserTest.java
##########
@@ -203,20 +205,32 @@ public void udtSerDeserTest(ProtocolVersion version) throws Exception
SetType<?> st = SetType.getInstance(UTF8Type.instance, true);
MapType<?, ?> mt = MapType.getInstance(UTF8Type.instance, LongType.instance, true);
+ String typeName = "myType" + randomUTF8(3);
+ String fieldName = 'f' + randomUTF8(3);
+
UserType udt = new UserType("ks",
- bb("myType"),
- Arrays.asList(field("f1"), field("f2"), field("f3"), field("f4")),
+ bb(typeName),
+ Arrays.asList(field(fieldName), field("f2"), field("f3"), field("f4")),
Review comment:
I am fine with changing f1 to fieldname but then shouldn't we do something to f2, f3... to keep the naming consistent?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
[GitHub] [cassandra] smiklosovic closed pull request #907: CASSANDRA-16429: Fix incorrect encoding for strings can be UTF8
Posted by GitBox <gi...@apache.org>.
smiklosovic closed pull request #907:
URL: https://github.com/apache/cassandra/pull/907
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org