2018-09-19から1日間の記事一覧
もとのテーブルで配列とかJSONをexplodeしてレコードに分解するやつ SELECT myCol1, col2 FROM baseTable LATERAL VIEW explode(col1) myTable1 AS myCol1; https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralViewhttps://cwiki.apac…
もとのテーブルで配列とかJSONをexplodeしてレコードに分解するやつ SELECT myCol1, col2 FROM baseTable LATERAL VIEW explode(col1) myTable1 AS myCol1; https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralViewhttps://cwiki.apac…