Skip to content

Commit acbb281

Browse files
committed
Update Python test.
1 parent 7793dcb commit acbb281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ def tables(self, dbName=None):
631631
632632
>>> sqlCtx.registerRDDAsTable(df, "table1")
633633
>>> df2 = sqlCtx.tables()
634-
>>> df2.first()
634+
>>> df2.filter("tableName = 'table1'").first()
635635
Row(tableName=u'table1', isTemporary=True)
636636
"""
637637
if dbName is None:

0 commit comments

Comments
 (0)