file connector schema file
Posted: Tue Sep 11, 2018 1:02 am
Hello,
I'm trying to use a file connector to write a file but using a schema file and run time column propagation.
I need to use a schema file as my output delimiter will depend on the type of file I will generate as output.
I've read that for this I have to create a file, with the <output_file_name>.osh
For example if my output file name is :GBR_PERSON_100.txt
then the schema file should be : GBR_PERSON_100.txt.osh
Like this :
GBR_PERSON_100.txt.osh
record
{final_delim=end, delim='#', quote=double}
(
)
BUT this does not work.
Any idea of how to create a schema file for a file connector ?
I'm trying to use a file connector to write a file but using a schema file and run time column propagation.
I need to use a schema file as my output delimiter will depend on the type of file I will generate as output.
I've read that for this I have to create a file, with the <output_file_name>.osh
For example if my output file name is :GBR_PERSON_100.txt
then the schema file should be : GBR_PERSON_100.txt.osh
Like this :
GBR_PERSON_100.txt.osh
record
{final_delim=end, delim='#', quote=double}
(
)
BUT this does not work.
Any idea of how to create a schema file for a file connector ?