zhangjun0x01 commented on code in PR #1663:
URL: https://github.com/apache/incubator-paimon/pull/1663#discussion_r1274616002
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/ActionFactory.java:
##########
@@ -151,8 +151,8 @@ static Map<String, String>
parseCommaSeparatedKeyValues(String keyValues) {
}
static void parseKeyValueString(Map<String, String> map, String kvString) {
- String[] kv = kvString.split("=");
- if (kv.length != 2) {
+ String[] kv = kvString.split("=", 2);
+ if (kv.length < 2) {
Review Comment:
`!= 2` is also correct. What I started thinking was that after adding a
limit 2 , there would be no situation `>2`, so I changed it to `<2`
I rollback the code.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]