<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tatabox2000</author_name>
  <author_url>https://blog.hatena.ne.jp/tatabox2000/</author_url>
  <blog_title>tata色々な備忘録</blog_title>
  <blog_url>https://tatabox.hatenablog.com/</blog_url>
  <categories>
    <anon>scala</anon>
    <anon>spark</anon>
  </categories>
  <description>列の追加に癖がある。 単純に列指定で追加するのが難しいようだ。 import org.apache.spark.sql.SparkSession //Dataset 化 val spark = SparkSession.builder().appName(&quot;Spark SQL basic example&quot;).config(&quot;spark.some.config.option&quot;, &quot;some-value&quot;).master(&quot;local&quot;).getOrCreate() import spark.implicits._ val data = (0 to 10).toDS() data.show() /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftatabox.hatenablog.com%2Fentry%2F2018%2F03%2F29%2F133542&quot; title=&quot;ScalaでSparkのDataframe（一部Dataset） - tata色々な備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-29 13:35:42</published>
  <title>ScalaでSparkのDataframe（一部Dataset）</title>
  <type>rich</type>
  <url>https://tatabox.hatenablog.com/entry/2018/03/29/133542</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
