Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在配置单元中使用选择查询一次获取一行。类似于 SQL 中的游标。但 Hive 不支持游标。有没有办法实现这个?
我认为在尝试一次检索一个值的情况下使用 HBASE 更好,因为它可以实现真正快速的读写和可扩展性,从而实现近乎实时的分析。而 HIVE 主要用于批量数据处理,这不是你的案子。
limit在选择查询的末尾使用。
limit
以下查询仅从 db 中获取一行。
select * from TABLENAME limit 1;
In order to fix an IE9 bug I had to put the 'DOCTYPE' declaration at the top of the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&