My job imports data from Seq file. Date format in file is "yyyymmdd". Datatype = Date. I changed the default date format for the job to 'yyyymmdd' as well. I also set the column Date format as 'yyyymmdd'. My target is a Dataset with Datatype = Date.
Despite all the above mentioned settings if passed straight through a Transformer the date comes out as 'yyyy-mm-dd'. If I remove the Transfomer stage the date is exported as 'yyyymmdd'.
Anyone know what's going on here?
Does a Transformer stage have some implicit transformation stuff?
Curious Date Behavior in Transformer
Moderators: chulett, rschirm, roy
Curious Date Behavior in Transformer
Lance Short
"infinite diversity in infinite combinations"
***
"The absence of evidence is not evidence of absence."
"infinite diversity in infinite combinations"
***
"The absence of evidence is not evidence of absence."
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You may need to fiddle with your date picture. The default is %yyyy-%mm-%dd (with the delimiters). Try explicitly specifying %yyyy%mm%dd (without delimiters).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I have done just that. In each of the places mentioned. Still the data converts itself to %yyyy-%mm-%dd. Its bizare.
The reason I believe there is a problem is that any stage other than the transformer yields the correct result...and the transformer does not have a place to change the date format aside from a derivation expression.
![Confused :?](./images/smilies/icon_confused.gif)
Lance Short
"infinite diversity in infinite combinations"
***
"The absence of evidence is not evidence of absence."
"infinite diversity in infinite combinations"
***
"The absence of evidence is not evidence of absence."