摘要: Hive 常用的内置函数 show functions;describe function extended count; String Functions 字符串函数 select length("itcast");select reverse("itcast");select concat("a 阅读全文
posted @ 2022-08-19 15:28 权。 阅读(126) 评论(0) 推荐(0) 编辑
摘要: start-all.sh 启动hadoop服务yarn nohup /export/server/apache-hive-3.1.2-bin/bin/hive --service metastore & 启动Hive第一代客户端 nohup /export/server/apache-hive-3. 阅读全文
posted @ 2022-08-19 15:27 权。 阅读(253) 评论(0) 推荐(1) 编辑
摘要: Hive使用Load进行加载数据操作分为两种情况。第一种是文件在虚拟机本地,另一种是文件在HDFS文件系统根目录。对应两种情况,底层也会进行复制、移动操作。 虚拟机本地加载 这里事先将txt文件放到了root的hivedata目录下。 -- 从本地加载数据 数据位于HS2(node1)本地文件系统 阅读全文
posted @ 2022-08-19 13:39 权。 阅读(1886) 评论(0) 推荐(1) 编辑