Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
fix: make dependency query cacheable
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswuerbach committed Feb 10, 2022
1 parent e432d81 commit e040f1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin/s3spanstore/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ func (r *Reader) GetDependencies(ctx context.Context, endTs time.Time, lookback
startTs := endTs.Add(-lookback)

conditions := []string{
fmt.Sprintf(`start_time BETWEEN timestamp '%s' AND timestamp '%s'`, startTs.Format(ATHENA_TIMEFORMAT), endTs.Format(ATHENA_TIMEFORMAT)),
fmt.Sprintf(`datehour BETWEEN '%s' AND '%s'`, startTs.Format(PARTION_FORMAT), endTs.Format(PARTION_FORMAT)),
}

Expand Down

0 comments on commit e040f1d

Please sign in to comment.