<?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: what does the code do  RDD.map(e =&amp;gt; e.split(&amp;quot;,&amp;quot;)(1))  in spark with scala? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149249#M23990</link>
    <description>&lt;P&gt;I'm not familiar with Scala but their docs are similar to Java so I would guess it would return the item at the first index of the result array.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 08:32:17 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-30T08:32:17Z</dc:date>
    <item>
      <title>what does the code do  RDD.map(e =&gt; e.split(",")(1))  in spark with scala?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149248#M23989</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what does the code do  RDD.map(e =&amp;gt; e.split(",")(1))  in spark with scala? &lt;/P&gt;&lt;P&gt;I know RDD.map(e =&amp;gt; e.split(",")) would split a string with ',' separated. But, I don't get the (1) in the code. Could somebody give me some information on this? I would greatly appreciate your answer. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 07:55:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149248#M23989</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2016-03-30T07:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: what does the code do  RDD.map(e =&gt; e.split(",")(1))  in spark with scala?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149249#M23990</link>
      <description>&lt;P&gt;I'm not familiar with Scala but their docs are similar to Java so I would guess it would return the item at the first index of the result array.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149249#M23990</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-30T08:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: what does the code do  RDD.map(e =&gt; e.split(",")(1))  in spark with scala?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149250#M23991</link>
      <description>&lt;P&gt;Hi Artem Ervits,&lt;/P&gt;&lt;P&gt;Thank you very much for your valuable time . I tried and it did exactly  the same what you said. Once again Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:46:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149250#M23991</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2016-03-30T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: what does the code do  RDD.map(e =&gt; e.split(",")(1))  in spark with scala?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149251#M23992</link>
      <description>&lt;P&gt;Glad to help, I learned something too about Scala, it was a mutual benefit&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 10:26:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-the-code-do-RDD-map-e-gt-e-split-quot-quot-1-in/m-p/149251#M23992</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-30T10:26:13Z</dc:date>
    </item>
  </channel>
</rss>

