当前位置:网站首页>数据湖(二十):Flink兼容Iceberg目前不足和Iceberg与Hudi对比
数据湖(二十):Flink兼容Iceberg目前不足和Iceberg与Hudi对比
2022-07-17 08:51:00 【Lansonli】
文章目录
Flink兼容Iceberg目前不足和Iceberg与Hudi对比
Flink兼容Iceberg目前不足和Iceberg与Hudi对比
一、Flink兼容Iceberg目前不足
- Iceberg目前不支持Flink SQL 查询表的元数据信息,需要使用Java API 实现。
- Flink不支持创建带有隐藏分区的Iceberg表
- Flink不支持带有WaterMark的Iceberg表
- Flink不支持添加列、删除列、重命名列操作。
- Flink对Iceberg Connector支持并不完善。
二、Iceberg与Hudi对比
Iceberg和Hudi都是数据湖技术,从社区活跃度上来看,Iceberg有超越Hudi的趋势。他们有以下共同点:
- 都是构建于存储格式之上的数据组织方式
- 提供ACID能力,提供一定的事务、并行执行能力
- 提供行级别数据修改能力。
- 提供一定的Schema扩展能力,例如:新增、修改、删除列操作。
- 支持数据合并,处理小文件。
- 支持Time travel 查询快照数据。
- 支持批量和实时数据读写
Iceberg与Hudi之间不同点在于以下几点:
- Iceberg支持Parquet、avro、orc数据格式,Hudi支持Parquet和Avro格式。
- 两者数据存储和查询机制不同
Iceberg只支持一种表存储模式,就是有metadata file、manifest file和data file组成存储结构,查询时首先查找Metadata元数据进而过滤找到对应的 SnapShot对应的manifest files ,再找到对应的数据文件。Hudi支持两种表存储模式:Copy On Write(写时合并) 和Merge On Read(读时合并),查询时直接读取对应的快照数据。
- 对于处理小文件合并时,Iceberg只支持API方式手动处理合并小文件,Hudi对于小文件合并处理可以根据配置自动的执行。
- Spark与Iceberg和Hudi整合时,Iceberg对SparkSQL的支持目前来看更好。Spark与Hudi整合更多的是Spark DataFrame API 操作。
- 关于Schema方面,Iceberg Schema与计算引擎是解耦的,不依赖任何的计算引擎,而Hudi的Schema依赖于计算引擎Schema。
- 博客主页:https://lansonli.blog.csdn.net
- 欢迎点赞 收藏 留言 如有错误敬请指正!
- 本文由 Lansonli 原创,首发于 CSDN博客
- 停下休息的时候不要忘了别人还在奔跑,希望大家抓紧时间学习,全力奔赴更美好的生活
边栏推荐
- Hcip - Comprehensive Experiment of OSPF
- TP5 wechat withdrawal merchants transfer to change (copying is available)
- New application of arm computing, illegal fishing "catch all"
- 2022 Shanghai safety officer C certificate national question bank and answers
- ES6 learning function (strict mode, higher-order function, closure)
- ES6学习-函数(严格模式,高阶函数,闭包)
- MySQL读写分离
- Collation of RPA related knowledge points
- [leetcode] general operation summary
- Scratch reverse order output electronic society graphical programming scratch grade examination level 4 true questions and answers analysis June 2022
猜你喜欢
随机推荐
MySQL存储函数和触发器
rosbridge
idea按条件断点调试
BCG 使用之CBCGPEdit控件
【手写数字识别】基于Lenet网络实现手写数字识别附matlab代码
QR分解求矩阵逆--c工程实现
Matlab imports floating-point numbers with more than 9 digits after the decimal point
【CTF】pwn2_sctf_2016
It's also very difficult. I'm not only tired of writing by myself
也挺难的,不光我自己写的很累
【回归预测】基于粒子滤波实现锂离子电池寿命预测附matlab代码
事件循环、宏任务、微任务
MySQL8下的JSON
Baidu Apollo
Distributed transaction best effort notification scheme
Error received from peer ipv4/connection reset by peer paddleserving
CPU load of webgl - webgl comparison
cut,sort,uniq,xargs
Megatexture technology of ID tech5
LabVIEW用了多线程,程序是不是会跑的更快些