ã¯ããã« re:Invent 2016ã§çºè¡¨ãããAthenaã«ã¤ãã¦ã¯å¼ç¤¾ã§ãæ¢ã«æ§ã ãªè¨äºãåºã¦ããã¾ããå ¬å¼ãµã¤ãã«ããã¨ãããããªSQLã使ãäºãã§ãããããªã®ã§ãããä»åã¯ãã¼ã¿ã®SELECTãå®éã«è©¦ãã¦ã¿ã¾ããã SELECTã®å®è¡ Athenaã®å®è¡æ¹æ³ã«ã¤ãã¦ã¯å¼ç¤¾ã®è¨äºãªã©ãåèã«ãã¦ãã ãããä»åã¯ããã©ã«ãã§ç¨æããã¦ããsampledb.elb_logsãã¼ãã«ã«å¯¾ãã¦SELECTãå®è¡ãã¦ã¿ã¾ããã 以ä¸ãä»å試ããSELECTã®ç¨®é¡ã§ãã with distinct join where group by having union order by limit tablesample unnest with 以ä¸ã®SQLãå®è¡ãã¾ããã with elb_logs_with as ( select requestip, backendport from elb
{{#tags}}- {{label}}
{{/tags}}