<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Treasure Data</anon>
  </categories>
  <description>Tオプションだ！ -T, --type TYPE set query type (hive, pig, presto) つまり例としては、こう。 $ td query -d example_db -T presto -w -r rset1 &quot;select count(*) from table1&quot; 見つけ方なんだけど、ドキュメントを読んでもよくわからなかったので、ヘルプ。 td query --help usage: $ td query [sql] example: $ td query -d example_db -w -r rset1 &quot;select count(*) from tabl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fexecute_presto_td_command-line&quot; title=&quot;td command-lineからPrestoのクエリを実行するの - by shigemk2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-07-07 11:07:32</published>
  <title>td command-lineからPrestoのクエリを実行するの</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/execute_presto_td_command-line</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
