☆☆☆★☆☆☆

唯有努力才能活成自己想要活成的样子

导航

随笔分类 -  hive学习记录

本人学习笔记,出现错误敬请指正
hive使用trino查询时报分区不存在问题
摘要:1.使用sql界面查询时报错”分区不存在“ 2.后台查看文件不存在 $ hdfs dfs -s /warehouse/cleaned.db/dataitem1 202304/f=20230412 2se/warehouse/cleaned.db/dataitem1 202304/f=20230412 阅读全文

posted @ 2023-04-18 10:06 Yr-Zhang 阅读(465) 评论(0) 推荐(0)

hive操作记录
摘要:1.在hive部署节点使用hive的shell,在./bin/hive目录下进入hive的客户端,执行我们的sql语句 --删除表 drop table if exists iov_gather_table; --创建数据库 create database if not exists db_hive 阅读全文

posted @ 2022-06-15 11:23 Yr-Zhang 阅读(170) 评论(0) 推荐(0)

非Hive Metastore Server节点执行load命令时出现“cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in switch database statement”
摘要:我的脚本如下 dbname=bigdata month=$(date -d 0"month ago"${date} +%Y%m) #删除分区及数据 ssh root@bda1node06 "hive -e 'use "${dbname}";ALTER TABLE tablename DROP IF 阅读全文

posted @ 2021-09-14 11:12 Yr-Zhang 阅读(1833) 评论(0) 推荐(0)