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

Pass result rows to transformation parameters fail

$
0
0
Example at the following location: https://drive.google.com/drive/folde...mB?usp=sharing

I want to:
1) generate some rows in transformation A
2) for each result row from transformation A, run transformation B, passing the results into the parameters of transformation B

In the example job, I generate two rows from the first transformation and attempt to pass a value (favorite_food) from the resultant rows into the parameter of the next transformation, and then log the value to the console.
Although the second transformation is executed twice as expected, the value logged to the console is always empty. Am I failing to appropriately reference the "Stream Column Name"? What could be the issue?

=== Logging ===
...
2018/11/14 16:29:51 - Get Variables.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2018/11/14 16:29:51 - Write to log.0 -
2018/11/14 16:29:51 - Write to log.0 - ------------> Linenr 1------------------------------
2018/11/14 16:29:51 - Write to log.0 - favorite_food =
2018/11/14 16:29:51 - Write to log.0 -
2018/11/14 16:29:51 - Write to log.0 - ====================
2018/11/14 16:29:51 - Write to log.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2018/11/14 16:29:51 - logPreviousResults - Using run configuration [Pentaho local]
2018/11/14 16:29:51 - logPreviousResults - Using legacy execution engine
2018/11/14 16:29:51 - logPreviousResults - Dispatching started for transformation [logPreviousResults]
2018/11/14 16:29:51 - Get Variables.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2018/11/14 16:29:51 - Write to log.0 -
2018/11/14 16:29:51 - Write to log.0 - ------------> Linenr 1------------------------------
2018/11/14 16:29:51 - Write to log.0 - favorite_food =
2018/11/14 16:29:51 - Write to log.0 -
2018/11/14 16:29:51 - Write to log.0 - ====================
2018/11/14 16:29:51 - Write to log.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2018/11/14 16:29:51 - example_job - Starting entry [Success]
...

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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