diff options
author | gchen <chenguancheng@gmail.com> | 2015-05-11 14:37:18 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-05-11 14:37:18 -0700 |
commit | 8e674331d9ce98068b44e4d483b6d35cef0648fa (patch) | |
tree | 62316c943c0a110864db0d33939439752dce6499 /streaming | |
parent | 6e9910c21ada19ae14122b5f14a6a30845b98229 (diff) | |
download | spark-8e674331d9ce98068b44e4d483b6d35cef0648fa.tar.gz spark-8e674331d9ce98068b44e4d483b6d35cef0648fa.tar.bz2 spark-8e674331d9ce98068b44e4d483b6d35cef0648fa.zip |
[SPARK-7516] [Minor] [DOC] Replace depreciated inferSchema() with createDataFrame()
JIRA: https://issues.apache.org/jira/browse/SPARK-7516
In sql-programming-guide, deprecated python data frame api inferSchema() should be replaced by createDataFrame():
schemaPeople = sqlContext.inferSchema(people) ->
schemaPeople = sqlContext.createDataFrame(people)
Author: gchen <chenguancheng@gmail.com>
Closes #6041 from gchen/python-docs and squashes the following commits:
c27eb7c [gchen] replace inferSchema() with createDataFrame()
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions