<?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: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28793#M20565</link>
    <description>&lt;P&gt;Executed just now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-10-14 at 8.48.34 AM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1394i76DE15D18E003EAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-14 at 8.48.34 AM" alt="Screen Shot 2022-10-14 at 8.48.34 AM" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2022 12:49:35 GMT</pubDate>
    <dc:creator>Cosimo_F_</dc:creator>
    <dc:date>2022-10-14T12:49:35Z</dc:date>
    <item>
      <title>Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28790#M20562</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting inconsistent representation of long types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1661817599972 is the unix timestamp in milliseconds for Monday, August 29, 2022 11:59:59.972 PM GMT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I execute:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`select 1661817599972&amp;nbsp;as t`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;166181759997 (last digit truncated)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number is correctly cast as a bigint according to `describe select 1661817599972&amp;nbsp;as t`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I execute:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select timestamp_millis(1661817599972) as t&lt;/P&gt;&lt;P&gt;the result is (correctly) `2022-08-29T23:59:59.972+0000`. So the internal representation of the object seems correct. This appears to happen for bigints only. For instance: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`select 16618175678&amp;nbsp;as t`&lt;/P&gt;&lt;P&gt;yields:&lt;/P&gt;&lt;P&gt;1661817567&lt;/P&gt;&lt;P&gt;but&lt;/P&gt;&lt;P&gt;`select 1661817567&amp;nbsp;as t`&lt;/P&gt;&lt;P&gt;also yields&lt;/P&gt;&lt;P&gt;1661817567&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBR 11.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Cosimo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: displays correctly in DBSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:13:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28790#M20562</guid>
      <dc:creator>Cosimo_F_</dc:creator>
      <dc:date>2022-10-06T15:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28791#M20563</link>
      <description>&lt;P&gt;Can you share your code and screenshot? As for me, it worked ok.&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1403i6A94EA30123948CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 12:33:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28791#M20563</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-14T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28792#M20564</link>
      <description>&lt;P&gt;Hi Hubert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the screenshot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-10-14 at 8.41.50 AM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1393i2DD2C8AC170437EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-14 at 8.41.50 AM" alt="Screen Shot 2022-10-14 at 8.41.50 AM" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 12:46:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28792#M20564</guid>
      <dc:creator>Cosimo_F_</dc:creator>
      <dc:date>2022-10-14T12:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28793#M20565</link>
      <description>&lt;P&gt;Executed just now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-10-14 at 8.48.34 AM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1394i76DE15D18E003EAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-14 at 8.48.34 AM" alt="Screen Shot 2022-10-14 at 8.48.34 AM" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 12:49:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28793#M20565</guid>
      <dc:creator>Cosimo_F_</dc:creator>
      <dc:date>2022-10-14T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28794#M20566</link>
      <description>&lt;P&gt;Hi, I tried again on another cluster but still working ok. Maybe try to change the runtime version. Additionally, you can check in Spark UI -&amp;gt; Environment -&amp;gt; Spark properties. Perhaps you have there some options set that change that behavior. I tried to find now in the options something related but couldn't.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 12:22:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28794#M20566</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-20T12:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28796#M20568</link>
      <description>&lt;P&gt;Thank you both for following up, unfortunately I'm still having the issue. Seems like a notebook frontend issue to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Hubert Dudek​&amp;nbsp;thanks for the suggestion, I will take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Cosimo.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 23:27:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28796#M20568</guid>
      <dc:creator>Cosimo_F_</dc:creator>
      <dc:date>2022-10-25T23:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28797#M20569</link>
      <description>&lt;P&gt;Weirdly, it seems to work if I indicate a long enough column name (or if I specify no column name). This I think supports the hypothesis of a frontend issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-10-25 at 7.30.19 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1390iBA7C097BB53F400F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-25 at 7.30.19 PM" alt="Screen Shot 2022-10-25 at 7.30.19 PM" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 23:33:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28797#M20569</guid>
      <dc:creator>Cosimo_F_</dc:creator>
      <dc:date>2022-10-25T23:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrectly truncated long numbers in DS&amp;E workspaces notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28798#M20570</link>
      <description>&lt;P&gt;Hi @Cosimo Felline​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WW82AAG" alt="https://community.databricks.com/s/profile/0053f000000WW82AAG" target="_blank"&gt;@Hubert Dudek&lt;/A&gt;&amp;nbsp;(Customer)​&amp;nbsp;response answer your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could resolve your issue, would you be happy to share the solution or&amp;nbsp;&lt;B&gt;mark an answer as best&lt;/B&gt;? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 08:58:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/incorrectly-truncated-long-numbers-in-ds-e-workspaces-notebooks/m-p/28798#M20570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-14T08:58:22Z</dc:date>
    </item>
  </channel>
</rss>

