We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b779571 commit 3f90deaCopy full SHA for 3f90dea
1 file changed
python/datafusion/dataframe.py
@@ -339,8 +339,8 @@ def into_view(self) -> TableProvider:
339
>>> from datafusion import SessionContext
340
>>> ctx = SessionContext()
341
>>> df = ctx.sql("SELECT 1 AS value")
342
- >>> provider = df.into_view()
343
- >>> ctx.register_table("values_view", provider)
+ >>> view = df.into_view()
+ >>> ctx.register_table("values_view", view)
344
>>> df.collect() # The DataFrame is still usable
345
>>> ctx.sql("SELECT value FROM values_view").collect()
346
"""
0 commit comments