Eric built a special hive,containing only one honeycomb.
埃里克特制了一个只有一个蜂窝的蜂箱
Tom's hive was filled with honey.
汤姆的蜂箱装满了蜂蜜。
Eric used to hive away a small sum every month.
过去埃里克每个月都要存起一小笔钱。
**CREATE TABLE employees (id INT, name STRING, department STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',';**
- 创建一个名为employees的表,包含id(整型)、name(字符串型)和department(字符串型)三列,列之间以逗号分隔。
**LOAD DATA LOCAL INPATH '/path/to/data.csv' INTO TABLE employees;**
- 从本地文件系统路径'/path/to/data.csv'加载数据到employees表中。
**SELECT * FROM employees WHERE department = 'Sales';**
- 从employees表中选择所有列,条件是department为'Sales'的记录。
**INSERT INTO TABLE departments SELECT DISTINCT department FROM employees;**
- 将employees表中所有不重复的department插入到departments表中。
**ALTER TABLE employees ADD COLUMN age INT;**
- 修改employees表结构,向其中添加一列名为age,类型为INT。
**DROP TABLE IF EXISTS employees;**
- 如果存在,则删除名为employees的表。
**SELECT COUNT(*) FROM employees;**
- 计算employees表中的总记录数。
**CREATE VIEW sales_team AS SELECT * FROM employees WHERE department = 'Sales';**
- 创建一个视图sales_team,该视图包含employees表中department为'Sales'的所有记录。
**UPDATE employees SET department = 'Marketing' WHERE id = 100;**
- 更新employees表中id为100的记录,将其department字段改为'Marketing'。(注:Hive默认不支持UPDATE操作,但某些版本或配置下可通过特定设置实现。)
**SELECT AVG(salary) FROM employees;**
- 计算employees表中salary列的平均值。
这些示例展示了Hive在数据定义、数据导入导出、数据查询以及简单的数据变换等方面的基本用法。
Huawei, which was facing severe pressure due to the persistent unavailability of technical components needed for its mobile phone business, had decided to hive off the Honor brand.
由于持续缺乏制造手机业务所需的关键技术组件,华为面临着巨大的压力,因此决定将荣耀品牌剥离出去。
The State Administration for Market Regulation announced on Monday it has fined e-commerce giant Alibaba Investment, Tencent-backed e-book site China Literature and logistics player Shenzhen Hive Box Technology 500,000 yuan ($76,450) each for not seeking regulatory approval before their respective buyout deals.
中国国家市场监管总局周一宣布,因在收购交易中未事先寻求监管批准,电商巨头阿里巴巴投资、腾讯支持的电子书平台阅文集团以及物流企业深圳蜂巢科技分别被罚款50万元人民币(合76450美元)。
The administration said in a release on its website that the decisions were made after investigations into three acquisition cases-Alibaba's purchase of Intime Retail, China Literature's purchase of all shares of New Classics Media and Hive Box's acquisition of a subsidiary of China Post.
该公告发布在官网,称这三起收购案——阿里巴巴收购银泰商业、阅文集团收购新丽传媒全部股权以及蜂巢易购收购中国邮政子公司——均在调查之列。
The State Post Bureau arranged a talk with Shenzhen Hive Box Technology Co Ltd to discuss adjusting its fees after members of the public complained about them being unreasonable, according to the administration's official WeChat account.
Officials with Hive Box said they will take it seriously and uphold their social responsibility.
Hive Box provides smart lockers used to store delivery packages.
The move by the postal administration comes after some residential communities in Shanghai refused to use Hive Box due to new charges which were introduced in May.
The country can become a hive of innovation.
The latest step is the acquisition of CIMC Electricity Commerce and Logistics Technology Co Ltd by Shenzhen-based Hive Box Technology, one of SF Express' investment in smart delivery locker business.
CIMC Electricity Commerce, a subsidiary of CIMC, was established in 2014 in Shenzhen and owns around 14,000 smart delivery locker cabinets, while Hive Box has more than 60,000 such cabinets.
未经许可,严禁转发。QQ交流群:688169419