Skip to content

Commit

Permalink
Fix Parquet files format
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Apr 26, 2024
1 parent 46b1e8f commit 1be3926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/amazon-security-lake/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def write_parquet_file(ocsf_events: list, filename: str) -> None:
"""
Write OCSF events to a Parquet file.
"""
table = pa.Table.from_pydict({'events': ocsf_events})
table = pa.Table.from_pylist(ocsf_events)
pq.write_table(table, filename, compression='ZSTD')


Expand Down

0 comments on commit 1be3926

Please sign in to comment.