I am developing a fix for https://issues.apache.org/jira/browse/CALCITE-1227 
<https://issues.apache.org/jira/browse/CALCITE-1227> in 
https://github.com/julianhyde/calcite/tree/1227-streaming-csv-table 
<https://github.com/julianhyde/calcite/tree/1227-streaming-csv-table>, building 
on Zhen Wang’s https://github.com/apache/calcite/pull/239 
<https://github.com/apache/calcite/pull/239>. I added a “cancelFlag” field to 
CalciteResultSet. Should this — and some mechanism for a running statement to 
find out whether it has been canceled — make its way up to AvaticaResultSet?

Implementing cancel is a complicated issue, but this seems like a good start.

Julian

Reply via email to