Skip to content

Commit

Permalink
Python style.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Jun 22, 2015
1 parent 88eb6c4 commit d696dff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,9 @@ def test_save_and_load_builder(self):

df.write.mode("overwrite").options(noUse="this options will not be used in save.")\
.format("json").save(path=tmpPath)
actual = self.sqlCtx.read.format("json").load(path=tmpPath,
noUse="this options will not be used in load.")
actual =\
self.sqlCtx.read.format("json")\
.load(path=tmpPath, noUse="this options will not be used in load.")
self.assertEqual(sorted(df.collect()), sorted(actual.collect()))

defaultDataSourceName = self.sqlCtx.getConf("spark.sql.sources.default",
Expand Down

0 comments on commit d696dff

Please sign in to comment.