<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: SQLContext Error - CreateSchemaRDD in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132630#M95300</link>
    <description>&lt;P&gt;Hi Robert, Spark Version is 1.6.0&lt;/P&gt;&lt;P&gt;and the documentation i am refering to is &lt;/P&gt;&lt;P&gt;&lt;A href="https://spark.apache.org/docs/1.1.0/sql-programming-guide.html"&gt;https://spark.apache.org/docs/1.1.0/sql-programming-guide.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 06:49:37 GMT</pubDate>
    <dc:creator>sridharbabu1138</dc:creator>
    <dc:date>2016-03-17T06:49:37Z</dc:date>
    <item>
      <title>SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132628#M95298</link>
      <description>&lt;P&gt;When I am trying to import CreateSchemaRDD from SQL Context it is creating error in spark shell&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;scala&amp;gt; sc
res4: org.apache.spark.SparkContext = org.apache.spark.SparkContext@4345fd45&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;scala&amp;gt;val sqlContext = new org.apache.spark.sql.SQLContext(sc)
sqlContext: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@293432e6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;scala&amp;gt; import sqlContext.createSchemaRDD
&amp;lt;console&amp;gt;:31: error: value createSchemaRDD is not a member of org.apache.spark.sql.SQLContext
  import sqlContext.createSchemaRDD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;however, createSchemaRDD is not shown as a member when I press TAB button, but this is given in the Spark SQL Documentation as a correct command.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sridhar &lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:40:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132628#M95298</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-17T06:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132629#M95299</link>
      <description>&lt;P&gt;Hi Sridhar, can you post what version of Spark you are running and a link to the documentation you're referring to?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:47:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132629#M95299</guid>
      <dc:creator>rhryniewicz</dc:creator>
      <dc:date>2016-03-17T06:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132630#M95300</link>
      <description>&lt;P&gt;Hi Robert, Spark Version is 1.6.0&lt;/P&gt;&lt;P&gt;and the documentation i am refering to is &lt;/P&gt;&lt;P&gt;&lt;A href="https://spark.apache.org/docs/1.1.0/sql-programming-guide.html"&gt;https://spark.apache.org/docs/1.1.0/sql-programming-guide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:49:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132630#M95300</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-17T06:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132631#M95301</link>
      <description>&lt;P&gt;Hi Robert, it is working correctly if I use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;import sqlContext.implicits._&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which is correct for spark version 1.6.0&lt;/P&gt;&lt;P&gt;Now I am referring to the documentation 1.6.1&lt;/P&gt;&lt;P&gt;&lt;A href="http://spark.apache.org/docs/latest/sql-programming-guide.html"&gt;http://spark.apache.org/docs/latest/sql-programming-guide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is this documentation ok or should I refer to any other doc specifically for 1.6.0??&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 07:03:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132631#M95301</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-17T07:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132632#M95302</link>
      <description>&lt;P&gt;Sridhar, as long as you're using Spark 1.6 I'd refer to &lt;A href="https://spark.apache.org/docs/1.6.1/sql-programming-guide.html" target="_blank"&gt;https://spark.apache.org/docs/1.6.1/sql-programming-guide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:21:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132632#M95302</guid>
      <dc:creator>rhryniewicz</dc:creator>
      <dc:date>2016-03-17T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: SQLContext Error - CreateSchemaRDD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132633#M95303</link>
      <description>&lt;P&gt;Thanks Robert!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:10:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SQLContext-Error-CreateSchemaRDD/m-p/132633#M95303</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-18T12:10:05Z</dc:date>
    </item>
  </channel>
</rss>

