What specifically is Amazon Redshift patch 178 changing for DECODE?

0

In the cluster patch notes for path 178 https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html:

The DECODE function replaces a specific value with either another specific value or a default value, depending on the result of an equality condition. DECODE now requires the following three parameters:

  • expression
  • search
  • result

The DECODE function already exists and was documented, what exactly is it that's changing vs the previous version?

asked 7 months ago148 views
1 Answer
1
Accepted Answer

The only change I see is replacing the word "expression" with "function".

Refer the Internet Archive changes captured between February 2023 Vs. the latest page

https://web.archive.org/web/diff/20230202123513/20231016084824/https://docs.aws.amazon.com/redshift/latest/dg/r_DECODE_expression.html

profile pictureAWS
answered 7 months ago
  • I guess they made it into a real function rather than SQL syntax, it isn't registered as one on previous versions according to system tables.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions