Hi,
my quoted data looks like this:
"ref", "address", "amount"
"1", "100 A St.", "100000"
"2", "101 A St.", "150000"
it does not matter if I set quotedStrings to "true" or "false" for DataReader in my graph file, my result for both cases would be the same:
"1", "100 A St.", "100000"
"2", "101 A St.", "150000"
is that correct that the result is the same, independant of the quotedStrings setting??
fyi, this is how I set the quotedStrings in my Graph file:
<Node id="INPUT" type="DATA_READER" fileURL="${DATA}/test.txt" skipFirstLine="true" quoteStrings="false" trim="false"/>
Also, the same applies if my data are not quoted... the result will have no quotes, no matter if I set the quotedStrings to "true" or "false"...
Thanks,
al
my quoted data looks like this:
"ref", "address", "amount"
"1", "100 A St.", "100000"
"2", "101 A St.", "150000"
it does not matter if I set quotedStrings to "true" or "false" for DataReader in my graph file, my result for both cases would be the same:
"1", "100 A St.", "100000"
"2", "101 A St.", "150000"
is that correct that the result is the same, independant of the quotedStrings setting??
fyi, this is how I set the quotedStrings in my Graph file:
<Node id="INPUT" type="DATA_READER" fileURL="${DATA}/test.txt" skipFirstLine="true" quoteStrings="false" trim="false"/>
Also, the same applies if my data are not quoted... the result will have no quotes, no matter if I set the quotedStrings to "true" or "false"...
Thanks,
al
-
Hi,
don't you have spell mistake in attribute name? It should be quotedStrings="true", not quoteStrings="true" -
Hi Agata,
you are right... the misspelling caused the erraneous behavior...
it would be helpful if the Graph execution would error if there are incorrect attribute names... to prevent mistyping...
thanks,
al -
Hi,
it can't be treated as error, because sometimes you may want to pass unknown attribute (eg. in Reformat), but it is good idea to log it.
I've reported an issue for it: http://bug.cloveretl.org/view.php?id=1112 -
Hi Agata,
Thanks :-)
al
Please sign in to leave a comment.
Comments 4