Heya,
We have a set of graphs that use the old FIXLEN_DATA_WRITER, which I understand is decprecated. We managed to replace our DELIMITED_DATA_WRITER nodes with DATA_WRITER, but I am unsure if we can do the same for FIXLEN_DATA_WRITER becuase I cannot see a way to set leftAlign to false (which is our default). For example, our graph has
Can you tell me if/where I can set that attribute? It doesn't seem to be shifted to the metadata, but it is not an attribute of the UniversalDataWriter from what I can see. I can see the attribute buried in the java code in the formatter classes...
Thanks,
Anna
We have a set of graphs that use the old FIXLEN_DATA_WRITER, which I understand is decprecated. We managed to replace our DELIMITED_DATA_WRITER nodes with DATA_WRITER, but I am unsure if we can do the same for FIXLEN_DATA_WRITER becuase I cannot see a way to set leftAlign to false (which is our default). For example, our graph has
<Node id="OUTPUT_0" type="FIXLEN_DATA_WRITER" fileURL="/home/user/out.txt" fieldFiller=" " leftAlign="false" />
Can you tell me if/where I can set that attribute? It doesn't seem to be shifted to the metadata, but it is not an attribute of the UniversalDataWriter from what I can see. I can see the attribute buried in the java code in the formatter classes...
Thanks,
Anna
-
Heya,
I am checking in to see if there's any reponse to my query? Any pointers to resources where I can find an answer?
Thanks,
Anna -
Hi Anna,
This is unfortunately not possible at the moment. In some cases, you can use Reformat with CTL function lpad.
http://doc.cloveretl.com/documentation/ ... #ctl2-lpad
To be able to do this in any situation, I have raised the following issue in our bug tracker:
https://bug.javlin.eu/browse/CLO-5195
I hope this helps.
Please sign in to leave a comment.
Comments 2