aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/python/sql/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/main/python/sql/basic.py')
-rw-r--r--examples/src/main/python/sql/basic.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/src/main/python/sql/basic.py b/examples/src/main/python/sql/basic.py
index ebcf66995b..c07fa8f275 100644
--- a/examples/src/main/python/sql/basic.py
+++ b/examples/src/main/python/sql/basic.py
@@ -187,9 +187,6 @@ def programmatic_schema_example(spark):
# Creates a temporary view using the DataFrame
schemaPeople.createOrReplaceTempView("people")
- # Creates a temporary view using the DataFrame
- schemaPeople.createOrReplaceTempView("people")
-
# SQL can be run over DataFrames that have been registered as a table.
results = spark.sql("SELECT name FROM people")