<?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 Re: How to avoid trimming in EXPLAIN? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20430#M13783</link>
    <description>&lt;P&gt;I also faced the same ​&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 19:09:23 GMT</pubDate>
    <dc:creator>SS2</dc:creator>
    <dc:date>2022-11-29T19:09:23Z</dc:date>
    <item>
      <title>How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20427#M13780</link>
      <description>&lt;P&gt;I am looking on EXPLAIN EXTENDED plan for a statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In == Physical Plan == section, I go down to FileScan node and see a lot of ellipsis, like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;                     +- FileScan parquet schema.table[Time#8459,TagName#8460,Value#8461,Quality#8462,day#8466,isLate#8467] Batched: true, DataFilters: [isnotnull(TagName#8460), isnotnull(Quality#8462), isnotnull(Value#8461), isnotnull(Time#8459), (..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[mcfs-abfss://t-125a3c9d-90a3-46dc-a577-196577aff13d+abc-masked..., PartitionFilters: [isnotnull(day#8466), (cast(day#8466 as timestamp) &amp;gt;= 2022-11-19 00:00:00), (cast(day#8466 as tim..., PushedFilters: [IsNotNull(TagName), IsNotNull(Quality), IsNotNull(Value), IsNotNull(Time), EqualTo(TagName,FRO_P..., ReadSchema: struct&amp;lt;Time:timestamp,TagName:string,Value:double,Quality:int&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How to see full description of the section, without trimming? I am particularly interested in PartitionFilters section.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 00:03:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20427#M13780</guid>
      <dc:creator>vr</dc:creator>
      <dc:date>2022-11-27T00:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20428#M13781</link>
      <description>&lt;P&gt;Hi @Vladimir Ryabtsev​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 06:26:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20428#M13781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-27T06:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20429#M13782</link>
      <description>&lt;P&gt;You can try using FORMATTED as display option, this does not truncate.  But it will probably not display everything you want.&lt;/P&gt;&lt;P&gt;There are also the following parameters:&lt;/P&gt;&lt;P&gt;spark.sql.maxMetadataStringLength&lt;/P&gt;&lt;P&gt;spark.sql.maxPlanStringLength&lt;/P&gt;&lt;P&gt;I'd try changing the default values and see if it works.&lt;/P&gt;&lt;P&gt;&lt;A href="https://spark.apache.org/docs/latest/configuration.html" target="test_blank"&gt;https://spark.apache.org/docs/latest/configuration.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:08:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20429#M13782</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-11-28T16:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20430#M13783</link>
      <description>&lt;P&gt;I also faced the same ​&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:09:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20430#M13783</guid>
      <dc:creator>SS2</dc:creator>
      <dc:date>2022-11-29T19:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20431#M13784</link>
      <description>&lt;P&gt;Indeed, FORMATTED gave better results out of the box.&lt;/P&gt;&lt;P&gt;Indeed it did not have everything, but tweaking spark.sql.maxMetadataStringLength helped with EXTENDED!&lt;/P&gt;&lt;P&gt;I did not quite get meaning of spark.sql.maxPlanStringLength, in my cluster it defaults to a strange number "2147483632b".&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 21:39:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20431#M13784</guid>
      <dc:creator>vr</dc:creator>
      <dc:date>2022-11-29T21:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid trimming in EXPLAIN?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20432#M13785</link>
      <description>&lt;P&gt;Hi @Vladimir Ryabtsev​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad you found a solution. &lt;/P&gt;&lt;P&gt;That strange number you are seeing is the number of bits.&lt;/P&gt;&lt;P&gt;maxPlanStringLength is used to set the max number of characters (default = 2147483632) we can output to a plan string. Anything more than that, output will be truncated. Ideally this value is large enough for you to print out the plan using formatted and other options. But sometimes, using other options to extend the output from it's truncated state sometimes leads to OutOfMemory errors in the driver node or processes.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 18:09:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-trimming-in-explain/m-p/20432#M13785</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-12-02T18:09:40Z</dc:date>
    </item>
  </channel>
</rss>

