You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an DotNet Interactive notebook that included separate cells running different Kusto queries within the same kernel. After saving and re-opening the notebook, five different cells (including one CSharp and four Kusto cells) running different queries were merged into one large CSharp cell with repetitive #!kql-KustoKernel magic declarations interspersed between the query logic.
Several other Kusto cells at the end after some Markdown content are all formatted as Markdown and not a Markdown cell followed by Kusto cells.
This obviously completed destroys the behavior of the notebook and is equivalent to data loss as I have to go re-format most of the cell content in the notebook.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Did the combined cell not work correctly? The .dib format is a plain text format and the #!kql-KustoKernel magic commands are in effect "cell" separators. They should run, although there's no way to run them individually without splitting them back out into separate cells.
One of the merged cells that only contained KQL did work, but the second screenshot shows that it merged one Markdown and several KQL cells and thus the KQL cells aren't executable, they're just display content. That was the most remarkable bug.
Thanks. I didn't really understand what was going on in that screenshot.
I think what's going on here is that everything is treated as Markdown after we see a #!markdown magic command, and even if the #!markdown magic command comes after other code, it emits the whole cell as Markdown. That is definitely a bug but it's unrelated to the file format.
Describe the bug
I created an DotNet Interactive notebook that included separate cells running different Kusto queries within the same kernel. After saving and re-opening the notebook, five different cells (including one CSharp and four Kusto cells) running different queries were merged into one large CSharp cell with repetitive
#!kql-KustoKernel
magic declarations interspersed between the query logic.Several other Kusto cells at the end after some Markdown content are all formatted as Markdown and not a Markdown cell followed by Kusto cells.
This obviously completed destroys the behavior of the notebook and is equivalent to data loss as I have to go re-format most of the cell content in the notebook.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):.NET Interactive
© 2020 Microsoft Corporation
Version: 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Library version: 1.0.0-beta.24229.4+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Build date: 2024-10-27T19:31:09.0232372Z
Screenshots
The text was updated successfully, but these errors were encountered: