juliuszsompolski commented on issue #26014: [SPARK-29349] Support FETCH_PRIOR 
in Thriftserver fetch request
URL: https://github.com/apache/spark/pull/26014#issuecomment-538021299
 
 
   I did not implement it in the various metadata operations. In fact, metadata 
operations don't work correctly with FETCH_FIRST either right now - in e.g. 
https://github.com/apache/spark/blob/master/sql/hive-thriftserver/v1.2.1/src/main/java/org/apache/hive/service/cli/operation/GetColumnsOperation.java#L231
 the `extractSubset` operation deletes the rows from the start of the subset. 
Doing `setStartOffset(0)` on `FETCH_FIRST` after that won't work.
   This bug still exists in Hive master: 
https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/operation/GetColumnsOperation.java#L264
   It can be fixed as a followup.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to