Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Presto can take a 2nd/3rd argument (n) to get largest value of all input values in the following 4 functions:

...

However, Presto restricts n to 10000 or less since v0.194.

...

Cause

When calling the above functions, using a large value for n can cause performance issues in Presto clusters. As a result, Presto will return an error when a value greater than 10000 is for used for n.

...

Resolution

Assign a value less than 10000 to n, when you call any of the 4 functions.

...

Related Information

...