<?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: iPython shell `set_next_input` not working in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/ipython-shell-set-next-input-not-working/m-p/23666#M16385</link>
    <description>&lt;P&gt;Hey @Kaniz Fatma​, thanks for taking the time to reply! I just tried DBR version 11.2 and it also has this issue. Let me know if there is anything else I can do to help. &lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 15:42:00 GMT</pubDate>
    <dc:creator>196083</dc:creator>
    <dc:date>2022-11-17T15:42:00Z</dc:date>
    <item>
      <title>iPython shell `set_next_input` not working</title>
      <link>https://community.databricks.com/t5/data-engineering/ipython-shell-set-next-input-not-working/m-p/23664#M16383</link>
      <description>&lt;P&gt;I'm running on 11.3 LTS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Behavior:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Jupyter Shell Example"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1258i62DC702F63B6FDD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jupyter Shell Example" alt="Jupyter Shell Example" /&gt;&lt;/span&gt;Databricks Notebook Behavior (it does nothing):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Databricks Behavior"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1246iBC3A6CEFB1347C80/image-size/large?v=v2&amp;amp;px=999" role="button" title="Databricks Behavior" alt="Databricks Behavior" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also do `shell.set_next_input("test", replace=True)` to replace the current cell content which also doesn't work on Databricks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`set_next_input` stores this input in the payload manager which is then stored in the reply after execute in the `payload` key: &lt;A href="https://github.com/ipython/ipykernel/blob/main/ipykernel/ipkernel.py#L433-L439" target="test_blank"&gt;https://github.com/ipython/ipykernel/blob/main/ipykernel/ipkernel.py#L433-L439&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like Databricks is not recognizing the payload in the reply and the information is getting dropped. Happy to help in any way to get this resolved since this feature is important for the work we are doing on Databricks. &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 16:05:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ipython-shell-set-next-input-not-working/m-p/23664#M16383</guid>
      <dc:creator>196083</dc:creator>
      <dc:date>2022-11-04T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: iPython shell `set_next_input` not working</title>
      <link>https://community.databricks.com/t5/data-engineering/ipython-shell-set-next-input-not-working/m-p/23666#M16385</link>
      <description>&lt;P&gt;Hey @Kaniz Fatma​, thanks for taking the time to reply! I just tried DBR version 11.2 and it also has this issue. Let me know if there is anything else I can do to help. &lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 15:42:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ipython-shell-set-next-input-not-working/m-p/23666#M16385</guid>
      <dc:creator>196083</dc:creator>
      <dc:date>2022-11-17T15:42:00Z</dc:date>
    </item>
  </channel>
</rss>

