Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why can't I use a builtin function name in a higer order function? #63498

Open
alexey-milovidov opened this issue May 8, 2024 · 0 comments
Open
Assignees
Labels
analyzer Issues and pull-requests related to new analyzer feature

Comments

@alexey-milovidov
Copy link
Member

milovidov-pc :) SELECT arrayMap(addressToSymbol, trace), count() FROM 'trace_log.tsv.zst' WHERE trace_type = 'Real' GROUP BY trace ORDER BY count() DESC LIMIT 10

SELECT
    arrayMap(addressToSymbol, trace),
    count()
FROM `trace_log.tsv.zst`
WHERE trace_type = 'Real'
GROUP BY trace
ORDER BY count() DESC
LIMIT 10

Query id: 4d3e1771-15e7-439f-b8b9-fb5c4bc7db4d


Elapsed: 0.158 sec. 

Received exception:
Code: 47. DB::Exception: Unknown expression or function identifier 'addressToSymbol' in scope SELECT arrayMap(addressToSymbol, trace), count() FROM `trace_log.tsv.zst` WHERE trace_type = 'Real' GROUP BY trace ORDER BY count() DESC LIMIT 10. (UNKNOWN_IDENTIFIER)
@alexey-milovidov alexey-milovidov added feature analyzer Issues and pull-requests related to new analyzer labels May 8, 2024
@kitaisreal kitaisreal self-assigned this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer Issues and pull-requests related to new analyzer feature
Projects
None yet
Development

No branches or pull requests

2 participants