Skip to content

Commit

Permalink
fix typo in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpotts committed Feb 7, 2025
1 parent dc27fad commit 841b073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions arkouda/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,11 +1179,12 @@ def _delete_arkouda_files(prefix_path: str):
generic_msg(
cmd="deleteMatchingFilenames",
args={
"prefix": prefix_path,
"prefix": prefix_path.replace("*", "").replace("+", ""),
},
),
)


def to_parquet(
columns: Union[
Mapping[str, Union[pdarray, Strings, SegArray]],
Expand Down Expand Up @@ -1242,7 +1243,7 @@ def to_parquet(
If columns is a dictionary, the keys are used as the Parquet column names.
Otherwise, if no names are supplied, 0-up integers are used. By default,
any existing files at path_prefix will be deleted
(regaurdless of whether they would be overwritten), unless the user
(regardless of whether they would be overwritten), unless the user
specifies the 'append' mode, in which case arkouda will attempt to add
<columns> as new datasets to existing files. If the wrong number of files
is present or dataset names already exist, a RuntimeError is raised.
Expand Down
4 changes: 3 additions & 1 deletion tests/io_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,9 @@ def test_bug_4076_reproducer(self, par_test_base_tmp):
assert df2.size == 111

df3 = ak.DataFrame(ak.read_parquet(tmp_dirname + "/d_*"))
assert df2.size == 119
assert df3.size == 119



@pytest.mark.optional_parquet
def test_against_standard_files(self):
Expand Down

0 comments on commit 841b073

Please sign in to comment.