正如在上面的标题中提到的,我想创建一个触发器(特别是MySQL),以防止插入数据时不引发或抛出错误,因为这将导致事务回滚。 下面是我制作的触发器示例: BEGIN select A.running_test_id where (NEW.running_test_id = A.running_test_id and NEW.subtest_id = A.subtest_id)
)
我必须建立一个胶水作业来更新和删除雅典娜表中的旧行。当我运行我的删除作业时,返回一个错误: AnalysisException: 'Unable to infer schema for Parquet.where id in (select distinct id from view_dyf where op like 'D')").count() 我有2个数据源;第一个旧的雅典娜表中的数据必须更新或删除,和第二个表中的新的更新或删除的数据。在ds中,我已经选择了旧表中必须<em