{"description":"PySpark \u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092 UTC \u304b\u3089 JST \u306b\u5909\u63db\u3059\u308b\u4f8b\u3002 # \u6587\u5b57\u5217\u3092\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u578b\u306b\u5909\u63db df = df.withColumn(\"timestamp\", col(\"timestamp\").cast(\"Timestamp\")) # UTC \u304b\u3089 JST \u306b\u5909\u63db df = df.withColumn(\"timestamp\", from_utc_timestamp(col(\"timestamp\"),\"Asia/Tokyo\")) # \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u578b\u304b\u3089\u6587\u5b57\u5217\u578b\u306b\u5909\u63db df = df.withColumn(\"timestamp\", date_format(col(\"timestam\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20210612%2F1623502730\" title=\"PySpark \u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092 UTC \u304b\u3089 JST \u306b\u5909\u63db\u3059\u308b - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/yohei-a/","published":"2021-06-12 21:58:50","blog_url":"https://yohei-a.hatenablog.jp/","categories":["AWS","Spark"],"provider_url":"https://hatena.blog","blog_title":"ablog","width":"100%","author_name":"yohei-a","provider_name":"Hatena Blog","height":"190","version":"1.0","type":"rich","title":"PySpark \u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092 UTC \u304b\u3089 JST \u306b\u5909\u63db\u3059\u308b","image_url":null,"url":"https://yohei-a.hatenablog.jp/entry/20210612/1623502730"}