Relclient operator with writeln has no output
Posted: Wed Oct 31, 2012 3:03 am
I don't know if this is an error or a feature.
With this operator defined:
Calling the operator from the rel client gives no output:
Removing the writeln from the operator and the results are better.
I don't know that having a writeln in an operator is a good thing when called from the client, but some feedback would be nice.
With this operator defined:
Code: Select all
operator huh1 ( n integer ) returns relation { i integer };
begin;
writeln "Hello";
return relation { tuple { i n }};
end;
end operator;
Code: Select all
Response response = connection.evaluate("huh(2)", new CrashHandler(){
@Override
public void process (Throwable t){ }});
Value value = response.awaitResult(100000);
I don't know that having a writeln in an operator is a good thing when called from the client, but some feedback would be nice.