<?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: CCA 175 : spark version 1.6 on exam: in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65094#M75205</link>
    <description>&lt;P&gt;You may be having an incorrect understanding when you say&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;I notice that the functionalities to load a dataframe into a format that can be used to perform sql queries, only exist since spark version &amp;gt;1.6&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you expand on it with an example?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Mar 2018 19:22:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-03-03T19:22:41Z</dc:date>
    <item>
      <title>CCA 175 : spark version 1.6 on exam:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65059#M75204</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;I notice the exam on the CCA175 will have spark version 1.6. One of the main topics&amp;nbsp;of the exam is data analysis using spark SQL. I notice that the functionalities to load a dataframe into a format that can be used to perform sql queries, only exist since spark version &amp;gt;1.6 (e.g.&amp;nbsp;&lt;SPAN&gt;registerTempTable or&amp;nbsp;createorreplacetempview&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ANy thoughts on this? I am surprised that such an outdated version of spark is used for the exam.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best to all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:55:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65059#M75204</guid>
      <dc:creator>JB0000000000001</dc:creator>
      <dc:date>2022-09-16T12:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: CCA 175 : spark version 1.6 on exam:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65094#M75205</link>
      <description>&lt;P&gt;You may be having an incorrect understanding when you say&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;I notice that the functionalities to load a dataframe into a format that can be used to perform sql queries, only exist since spark version &amp;gt;1.6&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you expand on it with an example?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 19:22:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65094#M75205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-03T19:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: CCA 175 : spark version 1.6 on exam:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65107#M75206</link>
      <description>&lt;P&gt;I was referring to the following which is not available yet in spark 1.6 :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)create a DF&lt;/P&gt;&lt;P&gt;2)create a table to write direct sql queries on:&amp;nbsp;df.createGlobalTempView("people")&lt;/P&gt;&lt;P&gt;3)query on this table : spark.sql("SELECT * FROM global_temp.people")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I think what is required for the section "data analysis: use spark sql to interact with the metastore programmatically in your application" is to create a SQL/HiveContext and then query on tables that are already stored in the HIVE metastore. ANy idea if this is correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 08:06:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65107#M75206</guid>
      <dc:creator>JB0000000000001</dc:creator>
      <dc:date>2018-03-05T08:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: CCA 175 : spark version 1.6 on exam:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65111#M75207</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be beneficial for you if you can&amp;nbsp;go through Spark 1.6 documentation fully, in order to understand what is available and what is not. &amp;nbsp;For your questions, see below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1. sqlContext.createDataFrame(your_query)
    rdd.toDF(schema)

2. df.registerTempTable(table_name)

3. sqlContext.sql(your_query)&lt;BR /&gt;&lt;BR /&gt;sqlContext.read.table(your_hive_table)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 09:59:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CCA-175-spark-version-1-6-on-exam/m-p/65111#M75207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-05T09:59:19Z</dc:date>
    </item>
  </channel>
</rss>

