A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
only run sqlglot limit check when user sets a limit (#6530)
Shahmir Varqha64225b3b4e88
diff --git a/marimo/_sql/sql.py b/marimo/_sql/sql.pyindex 805a3b0115..142fb6f924 100644--- a/marimo/_sql/sql.py+++ b/marimo/_sql/sql.py@@ -123,9 +123,11 @@ def sql(if df is None:return None- has_limit = _query_includes_limit(query)+ has_limit = Falsetry:default_result_limit = get_default_result_limit()+ if default_result_limit is not None:+ has_limit = _query_includes_limit(query)except OSError:default_result_limit = None