Skip to content

Commit

Permalink
remove unused function and add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed May 17, 2024
1 parent eb01881 commit 76018c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/dataframe_tests/test_dataframe_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def test_translate_count_aggregation(translator):
def test_flatten_nested_array_parent_props(translator):
"""
Test to ensure the created dataframe will not contains any array being nested in another array
- input dataframe with leaf nodes containing nested list
- expected dataframe with leaf nodes no longer containing nested list
- input dataframe is the data of root_node (participant)
- we will test after callng translate_parent, it will produce the array field without nested array
:param translator:
:return:
"""
Expand Down
3 changes: 0 additions & 3 deletions tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ def get_dataframes_from_names(spark_session, schema_name, parquet_files, schemas
))
return dataframes

def generate_dataframe_from_jsons(translator, schema_name, node_name):
pass


def schema_to_dict_fields(schema):
dict_fs = {}
Expand Down

0 comments on commit 76018c2

Please sign in to comment.