diff --git a/src/main/cpp/tests/parse_uri.cpp b/src/main/cpp/tests/parse_uri.cpp index ba907a1922..52bbf8abe0 100644 --- a/src/main/cpp/tests/parse_uri.cpp +++ b/src/main/cpp/tests/parse_uri.cpp @@ -84,8 +84,8 @@ TEST_F(ParseURIProtocolTests, SparkEdges) "http://[fe80::7:8%1]", "http://foo.bar/abc/\\\\\\http://foo.bar/abc.gif\\\\\\", "b.oscars.org:8100/servlet/" - "impc.DisplayCredits?primekey_in=2000041100:05:14115240636,b.oscars.org,1,left", - "https://j.mp/2Ru15Ss ,,1,left"}); + "impc.DisplayCredits?primekey_in=2000041100:05:14115240636", + "https://j.mp/2Ru15Ss "}); auto result = spark_rapids_jni::parse_uri_to_protocol(cudf::strings_column_view{col}); diff --git a/src/test/java/com/nvidia/spark/rapids/jni/ParseURITest.java b/src/test/java/com/nvidia/spark/rapids/jni/ParseURITest.java index 7c586ce9bd..219a3bc439 100644 --- a/src/test/java/com/nvidia/spark/rapids/jni/ParseURITest.java +++ b/src/test/java/com/nvidia/spark/rapids/jni/ParseURITest.java @@ -76,8 +76,8 @@ void parseURIToProtocolSparkTest() { "http://??/", "http://user:pass@host/file;param?query;p2", "http://foo.bar/abc/\\\\\\http://foo.bar/abc.gif\\\\\\", - "b.oscars.org:8100/servlet/impc.DisplayCredits?primekey_in=2000041100:05:14115240636,b.oscars.org,1,left", - "https://j.mp/2Ru15Ss ,,1,left", + "b.oscars.org:8100/servlet/impc.DisplayCredits?primekey_in=2000041100:05:14115240636", + "https://j.mp/2Ru15Ss ", "", null};