fix: Allow get_historical_features with only On Demand Feature View by blaketastic2 · Pull Request #5256 · feast-dev/feast
What this PR does / why we need it:
Currently, when trying to get_historical_features from a postgres offline store without specifying a FeatureView, the call fails due to bad SQL generated. This PR fixes the SQL generated and also introduces a way(via sqlglot) to validate the SQL as part of unit tests to hopefully keep this from happening in the future.
Which issue(s) this PR fixes:
Misc
The RedShift implementation is most likely suffering from this same issue as the template code is basically the same.