<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sucrose</author_name>
  <author_url>https://blog.hatena.ne.jp/sucrose/</author_url>
  <blog_title>唯物是真 @Scaled_Wurm</blog_title>
  <blog_url>https://sucrose.hatenablog.com/</blog_url>
  <categories>
    <anon>BigQuery</anon>
  </categories>
  <description>BigQueryではSTRUCT(構造体)型やARRAY(配列)型が使えます データ型 | BigQuery | Google CloudSTRUCT型のカラムでGROUP BYしようとするとGrouping by expressions of type STRUCT is not allowed atのようなエラーが出てきて実行することができません 同様にARRAY型のカラムだとGrouping by expressions of type ARRAY is not allowed atのようになりますこれをどうにかしてGROUP BYすることを考えます 方法1: 構造体の中身を一度展開して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsucrose.hatenablog.com%2Fentry%2F2018%2F10%2F09%2F232753&quot; title=&quot;BigQueryのSTRUCT型やARRAY型で無理やりGROUP BYで集計する - 唯物是真 @Scaled_Wurm&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sucrose/20181009/20181009230316.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-09 23:27:53</published>
  <title>BigQueryのSTRUCT型やARRAY型で無理やりGROUP BYで集計する</title>
  <type>rich</type>
  <url>https://sucrose.hatenablog.com/entry/2018/10/09/232753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
