<?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: Have code stay hidden even when the notebook is copied in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92058#M8475</link>
    <description>&lt;P&gt;&lt;EM&gt;I have faced the issue that notebook is throwing error memory output exceeds 30 MB and its getting failed(Error:&lt;SPAN&gt;run failed with error message The size of the run output (31467502 bytes) exceeds the limit (31457280 bytes).&lt;/SPAN&gt;. I have then use this option to "Hide Result" for most of the df then it ran fine . But now I am worrying how this code will be worked when it get deployed to higher env using Git&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 16:15:35 GMT</pubDate>
    <dc:creator>Alok7661</dc:creator>
    <dc:date>2024-09-27T16:15:35Z</dc:date>
    <item>
      <title>Have code stay hidden even when the notebook is copied</title>
      <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/57198#M8473</link>
      <description>&lt;P&gt;When I save a certain Python notebook where I have selected Hide Code and Hide Results on certain cells, those conditions persist.&amp;nbsp; For example, when I come back the next day in a new session, the hidden material is still hidden.&lt;/P&gt;&lt;P&gt;When the notebook is copied into a new location by a CI/CD process after I have merged it into my main branch in git, the Hide actions seem to have been forgotten by, or never were known to, the copy of the notebook.&amp;nbsp; That is, when I open the copy, the Code and the Results in those cells is now visible.&lt;/P&gt;&lt;P&gt;Is there a way to save the Hide actions more durably, so they would still be in force even in a copy of the notebook?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 21:47:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/57198#M8473</guid>
      <dc:creator>DavidKxx</dc:creator>
      <dc:date>2024-01-12T21:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Have code stay hidden even when the notebook is copied</title>
      <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/57247#M8474</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In Databricks, the 'Hide Code' and 'Hide Results' actions are part of the interactive notebook UI and are not saved as part of the notebook source code. Therefore, these settings won't persist when the notebook is copied or moved to a new location through a CI/CD process.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;As per the information, Git operations that alter the notebook source code result in the loss of the notebook state, which includes cell outputs, comments, version history, and widgets. This means that UI state, such as hidden code or results, would not be preserved through a Git operation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 15:56:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/57247#M8474</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-01-13T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Have code stay hidden even when the notebook is copied</title>
      <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92058#M8475</link>
      <description>&lt;P&gt;&lt;EM&gt;I have faced the issue that notebook is throwing error memory output exceeds 30 MB and its getting failed(Error:&lt;SPAN&gt;run failed with error message The size of the run output (31467502 bytes) exceeds the limit (31457280 bytes).&lt;/SPAN&gt;. I have then use this option to "Hide Result" for most of the df then it ran fine . But now I am worrying how this code will be worked when it get deployed to higher env using Git&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 16:15:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92058#M8475</guid>
      <dc:creator>Alok7661</dc:creator>
      <dc:date>2024-09-27T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Have code stay hidden even when the notebook is copied</title>
      <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92447#M8476</link>
      <description>&lt;P&gt;Normally when reaching the limit of the output size the suggestion is to split the notebook into smaller notebooks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:17:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92447#M8476</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-10-01T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Have code stay hidden even when the notebook is copied</title>
      <link>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92596#M8477</link>
      <description>&lt;P&gt;In my situation we cannot split this notebook as ADF pipeline is already in PROD ,I have tried to use the option %%capture .It helps to ran the notebook within size limits but somehow it is corrupting the output. Also checked in the Databricks AI and got this result ."&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;%capture&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;magic command is used in Jupyter notebooks to capture the output of a cell and prevent it from being displayed. However, in Databricks notebooks, this magic command is not supported."&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 15:34:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/have-code-stay-hidden-even-when-the-notebook-is-copied/m-p/92596#M8477</guid>
      <dc:creator>Alok7661</dc:creator>
      <dc:date>2024-10-02T15:34:51Z</dc:date>
    </item>
  </channel>
</rss>

