<?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: Need a way to show the non-trimmed data while query a table ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6953#M2950</link>
    <description>&lt;P&gt;Hi @Raj Sethi​&amp;nbsp;, If you are expecting something like below&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;select * from tbl -&amp;gt; This internally uses .display API to display your results. So you can't really control truncation there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you can try the same above command like below, it could help to solve your issue.&lt;/P&gt;&lt;P&gt;spark.sql("select * from tbl").show(truncate = False)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps. &lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 13:28:04 GMT</pubDate>
    <dc:creator>pvignesh92</dc:creator>
    <dc:date>2023-03-30T13:28:04Z</dc:date>
    <item>
      <title>Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6947#M2944</link>
      <description>&lt;P&gt;When querying a json data , the values are getting trimmed. I need to see the full data for that field, is there any way to do so ?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 10:53:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6947#M2944</guid>
      <dc:creator>Rajkishore</dc:creator>
      <dc:date>2023-03-28T10:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6948#M2945</link>
      <description>&lt;P&gt;@Raj Sethi​&amp;nbsp;Hi, I believe you are using display option. Try to use show with truncate as False so that your entire contents can be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex. df.show(truncate = False)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 16:24:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6948#M2945</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-28T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6949#M2946</link>
      <description>&lt;P&gt;Hi @Raj Sethi​&amp;nbsp;, I think if you use "df.show(truncate=False)" , this should display the complete result. But, a better option would be to write the data to a table or file to see the complete value&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 18:41:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6949#M2946</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-03-28T18:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6950#M2947</link>
      <description>&lt;P&gt;Hi @Raj Sethi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't heard from you since the last response from @Lakshay Goel​&amp;nbsp; and @Vigneshraja Palaniraj​&amp;nbsp;​, and I was checking back to see if her suggestions helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 03:35:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6950#M2947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-30T03:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6951#M2948</link>
      <description>&lt;P&gt;Thanks for the response @Vigneshraja Palaniraj​&amp;nbsp; ! While executing in python it works, but if I run it as sql ,do I have this option? Please let me know if you have come across any solution for this .&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:38:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6951#M2948</guid>
      <dc:creator>Rajkishore</dc:creator>
      <dc:date>2023-03-30T09:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6952#M2949</link>
      <description>&lt;P&gt;Thanks for the response @Lakshay Goel​&amp;nbsp; ! While executing in python it works, but if I run it as sql ,do I have this option? Please let me know if you have come across any solution for this .&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:38:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6952#M2949</guid>
      <dc:creator>Rajkishore</dc:creator>
      <dc:date>2023-03-30T09:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to show the non-trimmed data while query a table ?</title>
      <link>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6953#M2950</link>
      <description>&lt;P&gt;Hi @Raj Sethi​&amp;nbsp;, If you are expecting something like below&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;select * from tbl -&amp;gt; This internally uses .display API to display your results. So you can't really control truncation there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you can try the same above command like below, it could help to solve your issue.&lt;/P&gt;&lt;P&gt;spark.sql("select * from tbl").show(truncate = False)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps. &lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 13:28:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-a-way-to-show-the-non-trimmed-data-while-query-a-table/m-p/6953#M2950</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-30T13:28:04Z</dc:date>
    </item>
  </channel>
</rss>

