我有大量的文本文件需要加载到数据库中.它们的结构如下:而不是更常见的csv格式:
TY - JOUR
T1 - On the Structure and Life-History of Entyloma ranunculi (Bonorden)
JF - Philosophical Transactions of the Royal Society of London. B (1887-1895)
VL - 178
SP - 173
EP - 185
PY - 1887/01/01/
UR - http://dx.doi.org/10.1098/rstb.1887.0008
M3 - doi:10.1098/rstb.1887.0008
AU - Ward, H.
ER -
Run Code Online (Sandbox Code Playgroud)
其中每一行是不同的字段,字段名称由前导字符表示.
我想要做的是将每一行加载到记录中的相应字段中.我想通过pentaho这样做,任何人都知道如何实现这一目标.为csv输入设置文本输入步骤.