KQL Kernel doesn't handle empty lines in cells
See original GitHub issueDescribe the bug
When executing a cell with a blank line in it something seems to go wrong with sending the query to the backend and it errors out.
e.g.
#!kql-mydatabase
let x = "Hello world!";
let y = 10;
print x, y;
fails. This works just fine in Data Explorer though.
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
Latest from main
- OS
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Visual Studio Code Insiders
- Other (please specify)
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
KQL Can't handle empty strings when using column_ifexists
Even we use isempty() or even alter the statement, as it is not having the habit of considering the empty string, it will...
Read more >jupyter-Kqlmagic/HISTORY.md at master
kqlmagic command. -optional line can start with %kql. ipython line magic; ipython cell magic. must be followed by an empty line or end...
Read more >isnotempty() - Azure Data Explorer
Learn how to use the isnotempty() function to check if the argument isn't an empty string.
Read more >Source - GitHub
And each block may be either: - multi line kql query - must be followed by an empty line or end of cell...
Read more >KQL "let" keyword doesn't work consistently
Hi,. It would be nice to be able to simplify my KQL queries by pulling some information out into "let" statements. That is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JustinMDotNet FYI
I thought so too :-. Sorry for the confusion, I should’ve mentioned sooner.