JiajunBernoulli opened a new pull request, #2774:
URL: https://github.com/apache/calcite/pull/2774
Here is the sql that fetch is deterministic and offset is dynamic
`select * from emp order by ename limit 1 offset ?`
**RelMdRowCount#getRowCount** will return 14d, because it always return
rowCount when offset is dynamic.
```
if (rel.offset instanceof RexDynamicParam) {
return rowCount;
}
```
Obviously, rowCount will not exceed 1 because LIMIT 1. We can improve it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]