analytics/config
Karl-Aksel Puulmann 62fb285b71
Comparisons: Fix exports issue (#4756)
* Increase max_parser_depth setting

This is currently causing issues in production with exports w/ comparisons, but
would blow up in other cases with sufficient data.

The reason this is now blowing up is that we create a large AND/OR condition
for breakdown comparisons. ecto-ch nests each conditional in its separate parentheses
causing us to reach the default 1000 max_parser_depth limit

We can improve this in a couple of ways:
- Not add unneccessary parentheses in ecto-ch
- Adding a new operator to make the AND/OR nesting require less conditionals, using
arrays and tuples instead

* Don't query comparisons for exports

csv exports don't actually output any comparison data, so querying for
it just causes issues.
2024-10-30 13:40:26 +00:00
..
.env.dev HelpScout integration (#4327) 2024-07-12 12:01:59 +02:00
.env.test Set postgres pool size to 2*cores for test env (#4581) 2024-09-16 10:20:02 +00:00
ce_dev.exs Unify error handling and propose actions to user on error 2024-08-22 11:57:59 +03:00
ce_test.exs Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00
ce.exs Add better assets compression to CE (#4476) 2024-09-03 13:54:11 +02:00
config.exs Unify error handling and propose actions to user on error 2024-08-22 11:57:59 +03:00
dev.exs Allow configuring AuthorizeSiteAccess plug site param (#4597) 2024-09-26 09:52:45 +00:00
prod.exs New config (#595) 2021-01-13 15:41:16 +02:00
runtime.exs Comparisons: Fix exports issue (#4756) 2024-10-30 13:40:26 +00:00
test.exs Set postgres pool size to 2*cores for test env (#4581) 2024-09-16 10:20:02 +00:00