Skip to content

Commit 043ca85

Browse files
committed
working
1 parent 5496f9f commit 043ca85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pyspark/rdd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,7 @@ def __init__(self, pyRDD):
13941394
self.ctx = pyRDD.ctx
13951395
self.sql_ctx = self.ctx._jvm.JavaSQLContext(self.ctx._jsc)
13961396
self._jrdd = self.ctx._pythonToJava(pyRDD._jrdd)
1397+
self._srdd = self.sql_ctx.applySchema(self._jrdd)
13971398

13981399

13991400
def _test():

0 commit comments

Comments
 (0)