You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers/api/stats_controller
Vini Brasil 2ab8453a57 Set with_imported=false in realtime mode (#3053)
This commit fixes a bug where timeseries queries - such as the main
graph - would fail with imported data in realtime mode. Realtime mode
`date` field is not actually a date, but minutes from now. This would
cause the imported tables join to fail with this error:

```
(Ch.Error Code: 53. DB::Exception: Can't infer common type for joined
columns: date: Int64 at left, s1.date: Date at right. There is no
supertype for types Int64, Date because some of them are
Date/Date32/DateTime/DateTime64 and some of them are not.
(TYPE_MISMATCH)
```

This commit removes imported data from realtime queries, as it doesn't
make sense to include it. Imported data does not have time precision,
and would only appear in the first day the data was imported anyways.
3 years ago
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Replace empty OS/screen size/Browser with `(not set)` in UI/API/exports (#2646) 4 years ago
cities_test.exs Reject unknown imported cities from queries (#2675) 4 years ago
conversions_test.exs Fix queries with wildcard goals (#3015) 3 years ago
countries_test.exs Fix breakdown API pagination when using event metrics (#2562) 4 years ago
current_visitors_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
main_graph_test.exs Set with_imported=false in realtime mode (#3053) 3 years ago
operating_systems_test.exs Replace empty OS/screen size/Browser with `(not set)` in UI/API/exports (#2646) 4 years ago
pages_test.exs Prop filter modal (#2841) 4 years ago
regions_test.exs Harden API input validation (#2869) 4 years ago
screen_sizes_test.exs Support multiple filters - backend (#2749) 4 years ago
sources_test.exs Stop treating page filter as an entry_page filter (#2752) 4 years ago
suggestions_test.exs Filter out garbage props by `site.allowed_event_props` (#2907) 4 years ago
top_stats_test.exs Fix conversions top stats bug when comparing (#2893) 4 years ago