Cannot replace a normal View with a Late Binding View in Redshift
I am trying to create a VIEW in Redshift but getting error messages. Can someone please help me to resolve this? Example: CREATE OR REPLACE VIEW medaff_smrtsrc.DMN_STATUS as SELECT DISTINCT dense_rank()over(order by cs.status,cs.sub_status asc) as STATUS_SID, CASE WHEN CS.STATUS IS NULL THEN 'Unspecified' ELSE TRIM(cs.STATUS) END as STATUS, CASE WHEN CS.SUB_STATUS IS NULL THEN 'Unspecified' ELSE TRIM(cs.SUB_STATUS) END as SUB_STATUS, 'sysdate' as T_INSERT_DT,'ETL' as T_INSERT_USER FROM medaff_ref_spectrum.CASE CS WHERE CS.STATUS IS NOT NULL; Failing with: Error - 0A000: External tables are not
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.