Teiid Redshift Translator不支持一些红移SQL构造



我使用Redshift Traslator配置了TEIID中的RedShift DataSource。但是,使用TEIID时,RedShift中的某些SQL功能没有支持。例如,在部署VDB

时,我会遇到流浪错误
TEIID30068 The function 'nvl2(v_skey, c_skey, s_key)' is an unknown form.  Check that the function name and number of arguments is correct.
11/29/2017 12:13:01 PM[Server:server-one] 06:43:01,886 WARN  [org.teiid.RUNTIME] (Worker25_async-teiid-threads41) TEIID40073 The metadata for the VDB ReportRedshift.1 is loaded, however it is not valid. Check models for errors to correct the metadata and re-deploy: ReportRedshift

其他一些红移SQL构造,例如" Isnull"也无法正常工作

类似NVL2之类的东西尚未作为下降功能暴露,而不是TEIID系统函数。您可以通过在物理模型上定义功能来解决此问题,但是要强烈键入您必须为所需的每个类型签名添加一个变体。否则,您需要提交增强请求-https://issues.jboss.org/projects/teiid

您是什么意思是Nnull无法正常工作?您是在谈论功能还是无效的谓词?

最新更新