marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
7.96k stars 278 forks source link

[sql] missing schema reference in cell with CREATE OR REPLACE TABLE #2823

Closed akshayka closed 1 week ago

akshayka commented 2 weeks ago

Describe the bug

In the following notebook, my_db should be a reference of the third cell, but it isn't (ignore the error message).

Image

Furthermore, if I manually re-run this cell, my_db is incorrectly added as a definition of the third cell:

Image

Environment

0.9.16

Code to reproduce

No response