Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

D s
snippetBasic

Literal example:

LISTMAX
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
listmax([0,0,2,4,6,8,10,12,14,16,18,20]) as:'myArrayMax'

...

listmax([0,0,2,4,6,8,10,12,14,16,18,20])

Output: Returns the maximum of all values in the literal array: 20.

Column example:

LISTMAX
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
listmax(myArray) as:'myArrayMax'

listmax(myArray)

Output: Generates an output column containing the maximum of all values in the arrays of the myArray column.

D s
snippetSyntax

LISTMAX
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
listmax(array_ref)

listmax(array_ref)


ArgumentRequired?Data TypeDescription
array_refYArrayArray literal, reference to column containing arrays, or function returning an array

...