- Newest
- Most votes
- Most comments
Based on the official documentation, IS DISTINCT FROM is listed as an unsupported PostgreSQL function in Amazon Redshift. While you've observed that the operator appears to work in your current Redshift version (1.0.239402), the documentation explicitly categorizes it among unsupported features.
Given that it's officially documented as unsupported, I would advise caution in relying on this operator for production workloads. Even though it may currently function as expected, there are a few important considerations:
- The behavior could be undocumented and subject to change in future releases without notice
- It may not be fully tested or supported across all Redshift configurations and scenarios
- AWS support may not be able to assist with issues related to officially unsupported features
For production environments, it's generally safer to use alternative approaches that are officially documented and supported. You might consider using equivalent logic with CASE statements or other supported comparison operators combined with NULL handling functions to achieve the same result.
If you need definitive clarification on whether this represents a documentation gap or truly unsupported functionality, I'd recommend opening a support case with AWS or posting in the AWS forums where Redshift team members can provide an official response about the roadmap for this feature.
It's worth noting that Amazon Redshift is built on industry-standard SQL but has differences from PostgreSQL, and the documentation emphasizes not assuming that elements common to both systems have identical semantics.
Sources
Unsupported PostgreSQL functions - Amazon Redshift
Amazon Redshift SQL - Amazon Redshift
Unsupported PostgreSQL features - Amazon Redshift
Relevant content
- asked 3 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 4 years ago
