Skip to content

Commit

Permalink
fix two small issues (#32)
Browse files Browse the repository at this point in the history
* fix two small issues

* Fix test path
  • Loading branch information
wjones127 authored Jan 19, 2023
1 parent 3467c8f commit 623001b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To download and unpack:
```
VERSION=0.0.1
curl -OL https://github.com/delta-incubator/dat/releases/download/v$VERSION/deltalake-dat-v$VERSION.tar.gz
tar -xzvf deltalake-dat-v$VERSION.tar.gz
tar --no-same-permissions -xzf deltalake-dat-v$VERSION.tar.gz
```

## Testing Readers
Expand Down
2 changes: 1 addition & 1 deletion dat/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def expected_root(self, version: Optional[int] = None) -> Path:
return self.root / 'expected' / version_path

def expected_path(self, version: Optional[int] = None) -> str:
return str(self.expected_root(version) / 'table_content.parquet')
return str(self.expected_root(version) / 'table_content')


class TableVersionMetadata(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion tests/pyspark_delta/test_pyspark_delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ReadCase(NamedTuple):
case = ReadCase(
delta_root=path / 'delta',
version=version,
parquet_root=version_path,
parquet_root=version_path / "table_content",
name=case_metadata['name'],
description=case_metadata['description'],
min_reader_version=expected_metadata['min_reader_version'],
Expand Down

0 comments on commit 623001b

Please sign in to comment.