Skip to content

Commit

Permalink
fix case
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Mar 9, 2025
1 parent 10a8901 commit 6a516d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class PaimonReaderTest : public ::testing::Test {
_state = new RuntimeState(TQueryGlobals());
_io_ctx = new io::IOContext();
_kv_cache = new ShardedKVCache(10);
_schema_file_path = ".be/test/exec/test_data/paimon_scanner/schema-0";
_schema_file_path = "./be/test/exec/test_data/paimon_scanner/schema-0";
}

void TearDown() override {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ private void setPaimonParams(TFileRangeDesc rangeDesc, PaimonSplit paimonSplit)
throw new RuntimeException("Unsupported file format: " + fileFormat);
}
}

fileDesc.setSchemaFilePath(paimonSplit.getSchemaFilePath());
LocationPath schemaPath = new LocationPath(paimonSplit.getSchemaFilePath(),
source.getCatalog().getProperties());
fileDesc.setSchemaFilePath(schemaPath.toStorageLocation().toString());
fileDesc.setFileFormat(fileFormat);
fileDesc.setPaimonPredicate(encodeObjectToString(predicates));
fileDesc.setPaimonColumnNames(source.getDesc().getSlots().stream().map(slot -> slot.getColumn().getName())
Expand Down

0 comments on commit 6a516d1

Please sign in to comment.