We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29203c6 commit ae8c1ddCopy full SHA for ae8c1dd
python/datafusion/dataframe.py
@@ -340,8 +340,8 @@ def into_view(self) -> TableProvider:
340
>>> from datafusion import SessionContext
341
>>> ctx = SessionContext()
342
>>> df = ctx.sql("SELECT 1 AS value")
343
- >>> provider = df.into_view()
344
- >>> ctx.register_table("values_view", provider)
+ >>> view = df.into_view()
+ >>> ctx.register_table("values_view", view)
345
>>> df.collect() # The DataFrame is still usable
346
>>> ctx.sql("SELECT value FROM values_view").collect()
347
"""
0 commit comments