Kontinuation commented on PR #1992:
URL: 
https://github.com/apache/datafusion-comet/pull/1992#issuecomment-3072724220

   I found another problem when setting up GitHub Workflow for fs-hdfs: 
   
https://github.com/Kontinuation/fs-hdfs/actions/runs/16287559163/job/45989546965#step:9:461
   
   `HdfsFile::read` and `HdfsFile::read_with_pos` do not guarantee that the 
output buffer will be filled when there's more data available than the capacity 
of the output buffer, a common practice is to read data in a loop until we read 
enough data or EOF is hit.
   
   The 
[`get`](https://github.com/apache/datafusion-comet/blob/0.9.0/native/hdfs/src/object_store/hdfs.rs#L138-L163)
 and 
[`read_range`](https://github.com/apache/datafusion-comet/blob/0.9.0/native/hdfs/src/object_store/hdfs.rs#L89-L104)
 functions in Comet's hdfs support are not aware of this, we need to fix this 
problem as well.
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to