Fokko commented on code in PR #9090: URL: https://github.com/apache/iceberg/pull/9090#discussion_r1394956912
########## spark/v3.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/SparkRowLevelOperationsTestBase.java: ########## @@ -212,7 +212,7 @@ protected <T> void createOrReplaceView(String name, List<T> data, Encoder<T> enc private Dataset<Row> toDS(String schema, String jsonData) { List<String> jsonRows = Arrays.stream(jsonData.split("\n")) - .filter(str -> str.trim().length() > 0) + .filter(str -> !str.trim().length() > 0) Review Comment: ```suggestion .filter(str -> !str.trim().isEmpty()) ``` -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org