<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LOAD using FROM_FIELD results in large logs in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/LOAD-using-FROM-FIELD-results-in-large-logs/m-p/2412159#M94718</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are using the FROM_FIELD clause to parse some JSON documents.&amp;nbsp;Those documents may amount to&amp;nbsp;tens of thousands or maybe even a few millions of lines. We did some tests and the log files created looks something like this:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;1 lines fetched&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;2 lines fetched&lt;BR /&gt;&lt;SPAN&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;3 lines fetched&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;4 lines fetched&lt;BR /&gt;... (and it goes on, if the document has 1000, there will be 1000 lines like this one)&lt;BR /&gt;&lt;BR /&gt;Our undestanding is that&amp;nbsp;rows are handled one at a time and added to the script log. Because of this the logs become quite heavy. For a 40000 rows document we ended up with a 12MB txt file. Hence our problem.&lt;BR /&gt;&lt;BR /&gt;We believe an anwser to any of those questions will solve or problem, &lt;BR /&gt;Is there:&lt;BR /&gt;A way to remove/hide those line generated from the log file for this specific app? &lt;BR /&gt;A better way to use the FROM_FIELD clause?&lt;BR /&gt;A better way to parse JSON documents?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 19:37:42 GMT</pubDate>
    <dc:creator>acgomes</dc:creator>
    <dc:date>2024-01-29T19:37:42Z</dc:date>
    <item>
      <title>LOAD using FROM_FIELD results in large logs</title>
      <link>https://community.qlik.com/t5/App-Development/LOAD-using-FROM-FIELD-results-in-large-logs/m-p/2412159#M94718</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are using the FROM_FIELD clause to parse some JSON documents.&amp;nbsp;Those documents may amount to&amp;nbsp;tens of thousands or maybe even a few millions of lines. We did some tests and the log files created looks something like this:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;1 lines fetched&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;2 lines fetched&lt;BR /&gt;&lt;SPAN&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;3 lines fetched&lt;BR /&gt;TABLE_NAME:&lt;BR /&gt;LOAD * FROM_FIELD(JSON_DOCUMENT, JSON_FIELD)(json, utf8, no labels)&lt;BR /&gt;X fields found: &amp;lt;list of fields&amp;gt;&lt;BR /&gt;4 lines fetched&lt;BR /&gt;... (and it goes on, if the document has 1000, there will be 1000 lines like this one)&lt;BR /&gt;&lt;BR /&gt;Our undestanding is that&amp;nbsp;rows are handled one at a time and added to the script log. Because of this the logs become quite heavy. For a 40000 rows document we ended up with a 12MB txt file. Hence our problem.&lt;BR /&gt;&lt;BR /&gt;We believe an anwser to any of those questions will solve or problem, &lt;BR /&gt;Is there:&lt;BR /&gt;A way to remove/hide those line generated from the log file for this specific app? &lt;BR /&gt;A better way to use the FROM_FIELD clause?&lt;BR /&gt;A better way to parse JSON documents?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 19:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/LOAD-using-FROM-FIELD-results-in-large-logs/m-p/2412159#M94718</guid>
      <dc:creator>acgomes</dc:creator>
      <dc:date>2024-01-29T19:37:42Z</dc:date>
    </item>
  </channel>
</rss>

