Bug: KQL Boolean Values Displayed as `1` or `0` Instead of `true` , `false` in Polyglot Notebooks
Description:
I observed that when printing a boolean result in Polyglot Notebooks using the KQL magic command, the value is displayed as 1 instead of the expected true. This behavior is inconsistent with how boolean values are generally represented and can cause confusion.
Steps to Reproduce:
- Use the following KQL code in a Polyglot Notebook:
let A = 1; let B = 1; print AreEqual=(A == B); - Observe the result in the output display.
Expected Behavior:
The value of AreEqual should be displayed as true, consistent with how boolean values are typically represented.
Actual Behavior:
The value of AreEqual is displayed as 1 in the output.
Proposed Solution:
Boolean values (bool type) should be displayed as true or false, aligning with standard representations across programming and query languages.
Configuration Details:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [x] Windows 11
- Frontend
- [x] Visual Studio Code Insiders
Visual Studio Code Extension Details
Name: Polyglot Notebooks
Id: ms-dotnettools.dotnet-interactive-vscode
Description: Polyglot Notebooks for VS Code. Use multiple languages in one notebook with full language server support for each language and share variables between them.
Version: 1.0.6070011
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-interactive-vscode