Format of file parts of XML logical file.
I'm storing a XML file on S3 and want to break the file into file parts that look exactly like those file parts created when one does a spray. I believe, I know all the steps to do this EXCEPT the format of the content of the file parts files.
Can someone tell me the format of an file parts of an XML file that is sprayed?
Can someone tell me the format of an file parts of an XML file that is sprayed?
- tlhumphrey2
- Posts: 260
- Joined: Mon May 07, 2012 6:23 pm
Tim,
When you spray a "well-formed" XML file, you end up with a "well-formed" XML file as each of its component parts of the HPCC logical file. For eaxmple, spraying this file to my 3-node training cluster:
will result in something like these files:
Node 1
Or possibly like these (depending on exactly how spray decides to split the data):
Node 1
HTH,
Richard
When you spray a "well-formed" XML file, you end up with a "well-formed" XML file as each of its component parts of the HPCC logical file. For eaxmple, spraying this file to my 3-node training cluster:
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>201</code><description>PA Pennsylvania</description></area>
<area><code>202</code><description>OH Ohio</description></area>
<area><code>203</code><description>IL Illinois</description></area>
</Dataset>
will result in something like these files:
Node 1
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>201</code><description>PA Pennsylvania</description></area>
</Dataset>
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>202</code><description>OH Ohio</description></area>
</Dataset>
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>203</code><description>IL Illinois</description></area>
</Dataset>
Or possibly like these (depending on exactly how spray decides to split the data):
Node 1
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>201</code><description>PA Pennsylvania</description></area>
<area><code>202</code><description>OH Ohio</description></area>
</Dataset>
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
<area><code>203</code><description>IL Illinois</description></area>
</Dataset>
- Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Dataset>
</Dataset>
HTH,
Richard
- rtaylor
- Community Advisory Board Member
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest