getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.58k stars 4.04k forks source link

TypeError: unhashable type: 'list' #73598

Open sentry-io[bot] opened 2 weeks ago

sentry-io[bot] commented 2 weeks ago

When searching for !timesSeen:100 (or any number), you get an internal server error in response.

Other number filters are able to use the ! syntax correctly, but timesSeen fails (presumably due to it having an alias).

CleanShot 2024-07-01 at 12 06 25

Sentry Issue: SENTRY-38QB

TypeError: unhashable type: 'list'
(7 additional frame(s) were not displayed)
...
  File "sentry/search/snuba/backend.py", line 528, in query
    query_results = query_executor.query(
  File "sentry/search/snuba/executors.py", line 968, in query
    snuba_groups, total = self.snuba_search(
  File "sentry/search/snuba/executors.py", line 484, in snuba_search
    query_params_for_categories[gc] = self._prepare_params_for_category(
  File "sentry/search/snuba/executors.py", line 373, in _prepare_params_for_category
    aggregations = self._prepare_aggregations(
  File "sentry/search/snuba/executors.py", line 310, in _prepare_aggregations
    required_aggregations.add(alias)
getsantry[bot] commented 2 weeks ago

Routing to @getsentry/product-owners-issues for triage ⏲️