We are trying to acces a number of local Files via SMART DATA INTEGRATION. Local Files are in XML, and File can be up to 500MB. For this case the config file for the Remote Source has been set up as follows :
myXmlFile
FORMAT=XML
FORCE_FILENAME_PATTERN=myXMLFile.xml
PARTITIONS=0
CODEPAGE=UTF-8
LOCALE=en_US
ROOT_NAME=document
CIRCULAR_LEVEL=0
COLUMN=DATA;NCLOB;
First executions with comparable small number of records were working fine. And we can Extract Data via SQL Comand/Function XMLTABLE or can see the Content of Column DATA in the Hana Database Explorer RAW DATA - Preview. After scale up the number of records in the same file with the already included data ( just copied the content multiple times ) and reaching a file size above 23MB we get following error :
Could not open 'mySchema'.'myXMLFile'.
Error: (dberror) [7]: feature not supported: exception 70029042: wrong encoding found while read/write (N)CLOB: INPLACE_NCLOB: (at pos 73)
Files below this size working fine.
In the most cases you will assume that their is something wrong with the content. NOPE !
Same content was working with a small number of records. As i mentioned above, i just copied lines an pasted
them again in the same file.
Does someone have a clue what the reson could be for that behavior ?
Is the NCLOB Size limited ? Is there a Parameter to Increase that ?
We have tried a lot of Combination in the Config File with no Succes 😞
I appreciate all Help i could get.
Thanks in Advance.
Regards,
A.T
Request clarification before answering.
Hi A.T.
there are two configuration parameters that control the maximum size of XML or NCLOB data. These can also have the effect of truncating the data. Both of these need to be increased in order to load large XML or NCLOB files. For example, to load XML files up to 60MB in the presence of double-byte characters, apply the following settings.
If this doesn't solve the problem, open a customer support ticket and mention my name - it'll find it's way to me.
Hope that helps,
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.