GitHub user gmitter-ef added a comment to the discussion: Dynamic creation of stream fields
Hi! Thanks for your effort! What we know is (according to the example above): for every datetime field, two new fields (here: integers) have to be generated, whose the name is determined by the original datetime fields. But the UJDC should be "callable" from within a pipeline/stream that might contain 5, 10 or 200 such datetime fields, depending on the source of the stream, or depending on the actual "parent" pipeline that calls the UJDC via the simple mapping. From the perspective of the UDJC we also do not know in advance how the original datetime fields are called. The current solution reads names and datatypes of the stream fields from the inputRowMeta object. GitHub link: https://github.com/apache/hop/discussions/5005#discussioncomment-12462107 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
