<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>watasihasitujidesu</author_name>
  <author_url>https://blog.hatena.ne.jp/watasihasitujidesu/</author_url>
  <blog_title>production.log</blog_title>
  <blog_url>https://blog.naoshihoshi.com/</blog_url>
  <categories>
    <anon>メモ</anon>
    <anon>技術</anon>
  </categories>
  <description>TreasureDataを運用していて、存在するDBとその中のテーブルのスキーマを一覧で取得したいことがあったので調べて見ました。 GUI上からDBとテーブルを一つずつ確認するのはさすがにツラいのでサクッと見れる方法はこちらです。 `td db:list -f tsv | awk '{ print &quot;&quot;$1&quot;&quot;}' | grep -v Name | awk '{ print &quot;echo \&quot;&quot;$1&quot;\&quot; ;td db:show &quot;$1&quot; -f tsv; echo \&quot;\\n\&quot;&quot;; }'|sh`</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naoshihoshi.com%2Fentry%2F2018%2F11%2F08%2F113000&quot; title=&quot;TreasureDataのCLIで各テーブルのスキーマを取得するためのワンライナー - production.log&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-08 11:30:00</published>
  <title>TreasureDataのCLIで各テーブルのスキーマを取得するためのワンライナー</title>
  <type>rich</type>
  <url>https://blog.naoshihoshi.com/entry/2018/11/08/113000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
