Error
Unexpected parameters <x> for function <x>
Cause
This is a syntax issue that occurs when your provided data type or argument doesn't match those specified for that function.
Solution
The error message will provide the location of the error (highlighted in yellow), the incorrect value and function (highlighted in red), and the solution (highlighted in green). With this information, you should edit your query to provide the correct number and type of arguments for your function.
For details on supported functions, see the Presto Function and Operators documentation (external link).