set @rownum =0;
select @rownum := @rownum +1 as i ,id from tablename;
在本地環境中運行了這個,然后報錯ParseException line1:15 cannot recognize input near 'rownum' ':' '=' in selection target (state=42000,code=40000)
請問是hive不支持這種方式嗎,還是說我的陳述句寫的有問題。
忘各位大神能給出解答,辛苦了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/263065.html
標籤:分布式計算/Hadoop
上一篇:ubuntu安裝redis
