Open jthomasmock opened 2 months ago
"text/html":"<h4>NAIVE QUERY PLAN</h4>..."
This is probably what's crashing the Console -- not this specific bit of HTML, but something else in that string (maybe the XML bits?). This HTML is getting parsed for inline display and likely is causing a parsing exception, which leads to a React rendering exception, which leads to the React component not rendering.
The fix is either to figure out what the parser is choking on and address that, or promote content with this pattern to the Viewer pane instead.
System details:
Positron and OS details: Positron Version: 2024.08.0 (Universal) build 48
Code - OSS Version: 1.91.0 Commit: ed616b36655fb24d116108bdd833f1321704315b Date: 2024-08-19T04:26:51.868Z Electron: 29.4.0 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0
Interpreter details:
Python 3.12.0
Describe the issue:
Attempting to print a lazy polars dataframe, ie,
df.lazy()
will remove the console.https://github.com/user-attachments/assets/6e331326-87e9-443c-a396-5ecb0bed26ac
Steps to reproduce the issue:
Expected or desired behavior:
The lazyframe should at least not remove the console, and if executed should show the query plan:
For example if you do
print(lf)
, it will work fine:An example of calling
lf
would be something like:Were there any error messages in the UI, Output panel, or Developer Tools console?
In python console output: