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

...

The following changes have been applied to 

D s lang
 in this release of
D s product
rtrue
.

Release 6.0

New Functions

Function NameDescription
ARRAYINDEXOF Function

D excerpt include
pageARRAYINDEXOF Function
nopaneltrue

ARRAYRIGHTINDEXOF Function

D excerpt include
pageARRAYRIGHTINDEXOF Function
nopaneltrue

ARRAYSLICE Function

D excerpt include
pageARRAYSLICE Function
nopaneltrue

ARRAYMERGEELEMENTS Function

D excerpt include
pageARRAYMERGEELEMENTS Function
nopaneltrue

...

In Release 5.6 and earlier, the WEEKNUM function treated the first week of the year differently between the

d-s-serverphoton
 and Spark running environments:

  • d-s-serverphoton
     week 1 of the year:
     The week that contains January 1.
  • Spark week 1 of the year: The week that contains at least four days in the specified year.

...

Beginning in Release 5.7, the WEEKNUM function behaves consistently for both

d-s-serverphoton
 and Spark:

  • Week 1 of the year: The week that contains January 1.

...

In Release 3.2.1, the NUMFORMAT function supported a format string of ##.#0 in the Javascript running environment. This string was not supported in the

d-s-serverphoton
 running environment. 

For Release 4.0 and later, this format string is no longer supported and must be changed.

...

Transforms that nest null values in arrays now write null literals on 
d-s-serverphoton

In Release 3.2 and earlier, when a transform step was nested a null value within an array, an empty string value was written in the

d-s-serverphoton
 running environment.

In Release 3.2.1 and later, the value written for a nested null value in the array is the literal: null.

...

This change was made to align the behaviors of the

d-s-serverphoton
 running environment with the JavaScript running environment.

...

  • multisplit transform has been deprecated. All multisplit capabilities are now supported by the split transform. See Split Transform.
  • pivot transform now supports multiple columns. See Pivot Transform.
  • unnest transform now requires the keys parameter, which was optional in previous releases. See Unnest Transform.
    • To unnest arrays without specifying keys, use the flatten transform. See Flatten Transform.
  • arraylength and arraystomap now accept functions that return arrays as inputs to the function.
  • domain and subdomain functions have been updated to reflect standard interpretations of domain and sub-domain values for URLs:

    ReleaseExample URLDomain FunctionSubdomain Function
    Release 3.1.2 and earlier
    Code Block
    www.exampl.e.org
    Code Block
    exampl.e
    Code Block
    www
    Release 3.2 and later
    Code Block
    www.exampl.e.org
    Code Block
    e
    Code Block
    www.exampl
  • The following parameter values are no longer supported as special capture groups in the with parameter for the replace transform. These references in the with parameter do not work in the

    D s server
     and Hadoop running environments and are unlikely to work at work at scale in any other supported running environment:

    Code Block
    $&
    $`
    $'

...