Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,9 @@ class HDFSFileReadBufferBuilder : public ReadBufferBuilder
{
if (!file_size.has_value())
{
// only for spark3.2 file partition not contained file size
// so first compute file size first
// Fallback for callers whose Substrait LocalFilesNode was built without a
// `fileSizes` input (e.g. some Iceberg producers), so no per-file `fileSize`
// property is available. Compute the size by opening the HDFS file first.
auto tmp_read_buffer = std::make_unique<DB::ReadBufferFromHDFS>(
hdfs_uri,
hdfs_file_path,
Expand Down
Loading