This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Improve Function invalid argument number error specifying the affected function name #591
Closed
Description
The following query
select
language(blob_content, file_path) as lang,
uast_extract(
uast_xpath(
uast_xpath(
uast_mode('annotated', blob_content, lang)
'//InfixExpression[@role="Add" and @role="Binary" and @role="Operator"]'
),
"//String[@internalRole='leftOperand']"),
"Value"
) as result
from refs
NATURAL JOIN commits
NATURAL JOIN commit_files
NATURAL JOIN files
where lang != '' limit 100;
Is failing with ERROR 1105 (HY000): unknown error: expecting 2 arguments for calling this function, 1 received
We should specify the function name on the error at least.