diff --git a/target_s3/formats/format_base.py b/target_s3/formats/format_base.py index 163fc1c..1188c36 100644 --- a/target_s3/formats/format_base.py +++ b/target_s3/formats/format_base.py @@ -112,7 +112,7 @@ def create_key(self) -> str: else self.stream_name_path_override ) folder_path = f"{self.bucket}/{self.prefix}/{stream_name}/" - file_name = "" + file_name = stream_name if self.config["append_date_to_prefix"]: grain = DATE_GRAIN[self.config["append_date_to_prefix_grain"].lower()] partition_name_enabled = False