精確我使用以下黑斑羚查詢從MY_TABLE提取數據: select id, timestamp, unix_timestamp(timestamp) as ts from my_table
輸出是: id timestamp ts
-------------------------------------------------------
0 A 2016-08-2
語法錯誤,我有以下帕拉查詢 select session_id, max(cast(milli_ts) as integer), min(cast(milli_ts) as integer)from my_table group by session_id
但得到了以下錯誤: HiveServer2Error: AnalysisException: Syntax error in line 1
我目前有一個問題,我需要找到一組內的組數。但是,我想爲包含組創建聯機,並在一個字符串內連接較小的組。 下表顯示了我目前所面臨的形勢: ----------------------------------------
Timestamp ID Member
----------------------------------------
1 1 A
1 1