개요

프레스토에서 쿼리 결과를 CSV로 추출할 일이 있어 찾아 본 뒤 정리해둔다.

사용법

$ ./presto --server 서버주소:포트 --execute "쿼리" --output-format CSV > foo.csv