Athena で 1フィールドの中の JSON の特定要素を型 CAST して抽出する方法
SELECT *,
cast(json_extract(json_str,'$.val1') as integer) AS val1,
cast(json_extract(json_str,'$.val2') as integer) AS val2
FROM "db"."table"
Author And Source
この問題について(Athena で 1フィールドの中の JSON の特定要素を型 CAST して抽出する方法), 我々は、より多くの情報をここで見つけました https://qiita.com/rysk92/items/e0ce1746662e93d36019著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .