Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Looking at the source code, the maxRowCount is signed. And based on the code comments,
/** Creates a result set with maxRowCount.
*
- <p>If
{@code maxRowCount}
is -2 (
{@link JdbcMeta#UNLIMITED_COUNT}),
- returns an unlimited number of rows in a single frame; any other
- negative value (typically -1) returns an unlimited number of rows
- in frames of the default frame size. */
we can pass -2 to return all the rows in a single batch. But the proto file define this parameter as unsigned. We need to make it consistent with the internal code.
Attachments
Issue Links
- breaks
-
CALCITE-1353 first_frame_max_size in an ExecuteRequest should be an int32 in protobuf definitions.
- Closed