<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>Spark / PySpark</anon>
  </categories>
  <description>■ はじめに https://dk521123.hatenablog.com/entry/2020/11/16/162114 の PySpark版。 小ネタだが、ファイル名のみを取得する場合（以下の 「【２】入力ファイルのみを取得するには」の「方法１：UDFで行う」）、 前に扱った UDF (User Defined Function)の復習になったので、 非常によかった。 目次 【１】フルパスを取得するには 【２】入力ファイルのみを取得するには 方法１：UDFで行う サンプル：udf関数から取り込む場合 サンプル：デコレータを利用する場合 方法２：Hiveで行う 【１】フルパスを取得するには…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2021%2F04%2F12%2F145133&quot; title=&quot;【PySpark】PySparkで入力ファイル名を取得するには - プログラム の超個人的なメモ&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>2021-04-12 14:51:33</published>
  <title>【PySpark】PySparkで入力ファイル名を取得するには</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2021/04/12/145133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
