diff options
author | Davies Liu <davies@databricks.com> | 2015-03-27 11:42:26 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-03-27 11:42:26 -0700 |
commit | 887e1b72dfa5965f8ab1aad212fb33bb365b0e1b (patch) | |
tree | 5d80a9c4ee7f3b721822de0487dd5c1025ec8446 /examples/src/main | |
parent | 5d9c37c23d1edd91e6c5561780006b762cde5f66 (diff) | |
download | spark-887e1b72dfa5965f8ab1aad212fb33bb365b0e1b.tar.gz spark-887e1b72dfa5965f8ab1aad212fb33bb365b0e1b.tar.bz2 spark-887e1b72dfa5965f8ab1aad212fb33bb365b0e1b.zip |
[SPARK-6574] [PySpark] fix sql example
Fix the import in sql example.
Author: Davies Liu <davies@databricks.com>
Closes #5230 from davies/fix_sql_example and squashes the following commits:
7ecc5f4 [Davies Liu] fix sql example
Diffstat (limited to 'examples/src/main')
-rw-r--r-- | examples/src/main/python/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/python/sql.py b/examples/src/main/python/sql.py index 47202fde75..d89361f324 100644 --- a/examples/src/main/python/sql.py +++ b/examples/src/main/python/sql.py @@ -19,7 +19,7 @@ import os from pyspark import SparkContext from pyspark.sql import SQLContext -from pyspark.sql import Row, StructField, StructType, StringType, IntegerType +from pyspark.sql.types import Row, StructField, StructType, StringType, IntegerType if __name__ == "__main__": |