HiveSqlBloodFigure:hive血缘关系解析工具-源码

上传者: 42131618 | 上传时间: 2021-08-19 11:26:56 | 文件大小: 393KB | 文件类型: ZIP
HiveSqlBloodFigure 如果你喜欢这个项目,那就点击一下右上方的【Star】以及【Fork】,支持一下我,让我有动力持续更新! 项目介绍 在数据仓库建设中,经常会使用到数据血缘追中方面的功能,本项目实现了对hql集合进行静态分析,获取hql对应的血缘图(表血缘 + 字段血缘) 项目升级内容 删除hive-exec与hadoop-common的maven依赖,使得项目更加的轻量级。 重构项目代码,优化解析,修复无字段血缘时,不能获取表血缘的BUG。 规范化接口输入输出,血缘图均为自定义实体,方便进行JSON序列化。 新增接口层,方便Spring的注入,同时也提供静态方式调用。 下个版本升级内容 引入JDBC获取元数据信息,使血缘图更加丰富,同时可以解决Sql中有select * 的问题。 测试用例 请关注test下的HiveBloodEngineTest与HiveSqlBloo

文件下载

资源详情

[{"title":"( 54 个子文件 393KB ) HiveSqlBloodFigure:hive血缘关系解析工具-源码","children":[{"title":"HiveSqlBloodFigure-main","children":[{"title":".gitignore <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"diven","children":[{"title":"common","children":[{"title":"hive","children":[{"title":"ql","children":[{"title":"parse","children":[{"title":"HiveLexer.java <span style='color:#111;'> 376.66KB </span>","children":null,"spread":false},{"title":"ASTNode.java <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"Node.java <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"ParseError.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"ASTNodeOrigin.java <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"HiveParser.java <span style='color:#111;'> 1.80MB </span>","children":null,"spread":false},{"title":"HiveParser_IdentifiersParser.java <span style='color:#111;'> 665.56KB </span>","children":null,"spread":false},{"title":"HiveParser_FromClauseParser.java <span style='color:#111;'> 362.90KB </span>","children":null,"spread":false},{"title":"ParseDriver.java <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"ParseException.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"HiveParser_SelectClauseParser.java <span style='color:#111;'> 336.29KB </span>","children":null,"spread":false},{"title":"ASTErrorNode.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"BaseSemanticAnalyzer.java <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"blood","children":[{"title":"api","children":[{"title":"HiveBloodEngineImpl.java <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"HiveBloodEngine.java <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"factory","children":[{"title":"HiveSqlBloodFactory.java <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"QueryTree.java <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"HiveField.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"TableBlood.java <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"DWTask.java <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"Base.java <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"SQLResult.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"TableVertex.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"FieldVertex.java <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"ColLine.java <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"HiveTable.java <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"HiveTableEdge.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"FieldBlood.java <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"Block.java <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"ColumnNode.java <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"FieldBloodTree.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"HiveTableNode.java <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"exception","children":[{"title":"SQLParseException.java <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"SQLExtractException.java <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"UnSupportedException.java <span style='color:#111;'> 463B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"HqlUtil.java <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"SplitUtil.java <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"ParseUtil.java <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"NumberUtil.java <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"Check.java <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"MetaCache.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"FileUtil.java <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"PropertyFileUtil.java <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"GraphUtil.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"ByteUtil.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"graph","children":[{"title":"GraphUI.java <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"parse","children":[{"title":"HiveSqlBloodFigureParser.java <span style='color:#111;'> 34.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"diven","children":[{"title":"common","children":[{"title":"hive","children":[{"title":"blood","children":[{"title":"figure","children":[{"title":"BaseTest.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"HiveSqlBloodFactoryTest.java <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"HiveBloodEngineTest.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 17.62KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • zhanggeng22 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-08-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明