Iインパラ接続/クエリを実行するには、次の作業Pythonコードを持っている: import pandas as pd
query = 'select my_c_instance_id, count(my_c_instance_id) as my_ins_id_count from ' + \
'(select * from my_table where my_c_id like
私はインパラ(および他のデータベース)に知っている私は、次の両方を実行することができます。 SHOW DATABASES SHOW TABLES また、私は、例えば、オプションのLIKEまたはIN引数を追加することができます知っています私のデータベースバナナ内のすべてのテーブルを表示するために私が書くことができます:私が本当に知りたいこと(も示すデータベースを再帰することなく、データベース内のすべ
私はのtable_1で先月データを検索するには、次のコードを使用しようとしています が、その後、table_2でそれに参加左参加: import pandas as pd
query = 'select * from table_1 where table_1.ts > "2016-07-12 00:00:00" as recent_table left join table_2 on tab
に(別の句を使用して)複数のクエリを組み合わせた: 'select team, count(distinct id) as distinct_id_count_w1 from myTable where timestamp > t1 and timestamp < t2 group by team'
'select team, count(distinct id) as distinct_id