Amazon Athenaで表題をやりたい。ちなみに対象のテーブルはCSVでS3に保存されている。
■ 環境
- Amazon Athena
■ is null
特に調べずにこんな感じでいけるかな?と試してみた。SQL感覚。
select * from testtable where field1 is null
しかし結果は下記であった。
Zero records returned.
残念。
■ = ”
空文字であろうか?と試してみる。
select * from testtable where field1 = ''
こちらでは思い通りの結果を得ることができた。
Hiveとかでも確かこんな感じだったような記憶がある。
以上。