Impala(一) 基本使用

本文介绍了Impala的基本使用,包括impala shell和HUE的DEMO,讲解了数据类型,尤其是对复杂数据类型的处理。在DML和DDL方面,讨论了数据库和表的管理,如内部表、外部表和分区表,并对比了与Hive的异同。此外,还提到了Impala的数据导入、导出方法以及查询语法的特点,如不支持某些Hive的特定功能,但支持开窗函数。

Impala DEMO

impala shell

[root@flinkhadoop ~]# impala-shell 
Starting Impala Shell without Kerberos authentication
Opened TCP connection to flinkhadoop:21000
Connected to flinkhadoop:21000
Server version: impalad version 3.2.0-cdh6.3.0 RELEASE (build 495397101e5807c701df71ea288f4815d69c2c8a)
***********************************************************************************
Welcome to the Impala shell.
(Impala Shell v3.2.0-cdh6.3.0 (4953971) built on Thu Jul 18 10:24:11 PDT 2019)

Run the PROFILE command after a query has finished to see a comprehensive summary
of all the performance and diagnostic information that Impala gathered for that
query. Be warned, it can be very long!
***********************************************************************************

HUE

SELECT * FROM student;

insert into student values(2, "s2");
insert into student values(3, "s3");
insert into student values(4, "s4");

数据类型

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值