We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d5ab7 commit b4fdf4eCopy full SHA for b4fdf4e
examples/src/main/python/sql.py
@@ -42,7 +42,6 @@
42
# |-- age: integer (nullable = true)
43
# |-- name: string (nullable = true)
44
45
-
46
# A JSON dataset is pointed to by path.
47
# The path can be either a single text file or a directory storing text files.
48
path = os.environ['SPARK_HOME'] + "examples/src/main/resources/people.json"
@@ -52,7 +51,6 @@
52
51
# |-- person_name: string (nullable = false)
53
# |-- person_age: integer (nullable = false)
54
55
56
# The inferred schema can be visualized using the printSchema() method.
57
people.printSchema()
58
# root
0 commit comments