我是pentaho的新手,我需要从文件读取多个SQL语句并将输出存储在文件或数据存储中。输出/选择列对于所有的sql语句都是通用的。我可以知道如何实现它。 E.g如何从文件中读取多个SQL语句并在pentaho中执行
Select last_name, first_name age from employee where age is > 25;
Select last_name, first_name age from employee where salary is > 25000;
Select last_name, first_name age from employee where deptid in (Select deptid from dept where deptid like 'Dept-E00%');
,我需要加载的数据是巨大的(25元/天)和上面的SQL语句只是样品。选择所有行并在每行上应用过滤器对我来说不是一种选择。
.ktr文件非常有用。
感谢您的建议。
我上按比例放大的一点怀疑“执行SQL /执行SQL行”的步骤,当谈到加载百万计的数据卷。虽然我不能确定100%,但请看看我的解决方案,并给出你的想法。 ! – Rishu