Aklakan commented on code in PR #2925: URL: https://github.com/apache/jena/pull/2925#discussion_r1938320408
########## jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterLateral.java: ########## @@ -291,18 +291,25 @@ public Op transform(OpTable opTable) { // By the assignment restriction, the binding only needs to be added to each row of the table. Table table = opTable.getTable(); - // Table vars. - List<Var> vars = new ArrayList<>(table.getVars()); - binding.vars().forEachRemaining(vars::add); - TableN table2 = new TableN(vars); + + TableBuilder tableBuilder = TableFactory.builder(); Review Comment: Based on the discussion, I now added a TableBuilder class for building immutable Tables. -- 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-unsubscr...@jena.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For additional commands, e-mail: pr-h...@jena.apache.org