Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Can't import Key=Value text file as a single row into target Db

$
0
0
Using pdi v 4.4.0 on RHEL 6, I cannot seem to import a text file that maps to a single database row in the target MySQL database table. The text file has 155 lines, with each line mapping to a column in the target table. Each line starts with a "key" name that maps to the name of the target database column and the value follows a fixed-place "equals" (=) sign. The units of that value follow after a fixed length, but they are optional to ingest. Each line is terminated with carriage return/line feed ("\r\n")
I can "preview rows", but I can't get the records to split on the carriage return. Any ideas?

Sample data: (when I paste this data into the forum box, it automatically trims the spaces between keys and "=". believe me, the "=" signs are all lined up at the 36th position)
OBS_AVAILABLE =250
OBS_USED =29
RESIDUALS_ACCEPTED =100.0
WEIGHTED_RMS =0.873
AREA_PC =4.2082 [m**2]
CD_AREA_OVER_MASS =0.009383 [m**2/kg]
CR_AREA_OVER_MASS =0.000000 [m**2/kg]
THRUST_ACCELERATION =0.00000E+00 [m/s**2]
SEDR =2.84444E-05 [W/kg]
X =-486.595819 [km]
Y =-24.442056 [km]
Z =7130.146031 [km]
Attached Files

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>