Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Nov 21, 2024
1 parent bcedca7 commit 7493bab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ func (s *Store) IdentifierFor(topicConfig kafkalib.TopicConfig, table string) sq
func (s *Store) ObjectPrefix(tableData *optimization.TableData) string {
tableID := s.IdentifierFor(tableData.TopicConfig(), tableData.Name())
fqTableName := tableID.FullyQualifiedName()
yyyyMMDDFormat := tableData.LatestCDCTs.Format(ext.PostgresDateFormat)

yyyyMMDDFormat := fmt.Sprintf("date=%s", tableData.LatestCDCTs.Format(ext.PostgresDateFormat))
if len(s.config.S3.FolderName) > 0 {
return strings.Join([]string{s.config.S3.FolderName, fqTableName, yyyyMMDDFormat}, "/")
}
Expand Down

0 comments on commit 7493bab

Please sign in to comment.