Hive と Prestoの関数の違い
Treasure DataでSQLを書いていて、HiveとPrestoで使える関数に違いがあったのでメモ。
ちなみにPrestoは、分散SQLエンジンらしい。
https://qiita.com/usk81/items/3452c34175eb93b1573d
Presto のドキュメント(使える関数一覧)
https://prestodb.io/docs/current/
ちなみにPrestoは、分散SQLエンジンらしい。
https://qiita.com/usk81/items/3452c34175eb93b1573d
- TD_FIRST→
- TD_LAST→
- COLLECT_ALL関数→array_agg
Presto のドキュメント(使える関数一覧)
https://prestodb.io/docs/current/
WHERE td_client_id IS NOT NULL ORDER BY td_client_id, time
コメント
コメントを投稿