diff options
Diffstat (limited to 'examples/src/main/python/parquet_inputformat.py')
-rw-r--r-- | examples/src/main/python/parquet_inputformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/python/parquet_inputformat.py b/examples/src/main/python/parquet_inputformat.py index 2f09f4d573..29a1ac274e 100644 --- a/examples/src/main/python/parquet_inputformat.py +++ b/examples/src/main/python/parquet_inputformat.py @@ -53,7 +53,7 @@ if __name__ == "__main__": .appName("ParquetInputFormat")\ .getOrCreate() - sc = spark._sc + sc = spark.sparkContext parquet_rdd = sc.newAPIHadoopFile( path, |