Hive にテーブルが 1 つありますtable1
。テーブルからデータを取得するためにimpalaを使用しています
table1
------
name, amount
テーブルの値はどこにありますか
test1, 10
test1, 15
test1, 30
test2, 30
test2, 40
test2, 50
test3, 30
test3, 40
test3, 50
ここで、すべてのデータをフェッチするように、table1 からデータをフェッチする必要がありますname (test1, test2, test3)
but gives only top 2 records based on amount for each name
。
Can it possible in IMPALa or even in MYSQL?
前もって感謝します