Comments (2)
感谢反馈,可以考虑,针对没有字段的行,设置该字段的默认值为null
from addax.
刚进过测试,当前master分支上的mongodbreader是指支持缺失字段读取为null的功能的。
以下我是的测试结果
2020-09-17 20:27:47.171 [0-0-0-reader] INFO connection - Opened connection [connectionId{localValue:5, serverValue:30}] to 127.0.0.1:32768
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
add_id auction_id new column content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
unique_id auction_id null content_type
注意到值为new column
的这列,实际上我是分两次写入到 mongodb,第一次是有这个字段,值为new column
,第二次写入则没有这个值。
我们可以看到最后十条该字段的输出为 null
如果你当前的版本不支持,可以从这里下载我最新版本(提取码 jxxa
),替换你当前jar包,然后测试再看看。
如果还有问题,可以贴出你的整个测试过程
from addax.
Related Issues (20)
- Release notes for 4.1.0
- Release notes for 4.1.1
- [Bug]: oracle数据库blob与blob字段传输 HOT 2
- [Bug]: doriswriter 报Endpoint must be set错误,但是json配置文件已经配置 HOT 28
- addax 4.1.0 远程clickhouse同步到本地clickhouse问题 HOT 6
- [Feature Request] httpreader分页功能 HOT 2
- Release notes for 4.1.2 HOT 1
- [Bug]: hdfsReader to clickhouse 出现 jackson/databind NoClassDefFoundError HOT 2
- [Bug]: 执行bin/addax.sh job/test.json 报错:没有那个文件或目录 HOT 2
- [Bug]: 你好 是否必须要先在输出端先建表才能使用 HOT 7
- [Bug]: Doris writer写入bug
- 在线文档能提供星环inceptor的配置示例吗 HOT 1
- oracle在使用"writeMode": "update(id)"模式下写入,表有clob大字段时报错[Bug]: HOT 5
- [Bug]: 部署在墨西哥当地机器的时候,数据源连接自动生成的时区参数错误,异常退出 HOT 5
- [Bug]: channel描述是不是有点问题 HOT 1
- Release notes for 4.1.3 HOT 2
- Release notes for 4.1.4 HOT 1
- Sap Hana组件会支持吗 HOT 4
- [Bug]: dateFormat格式化日期时间无效
- 自行编译项目后,执行 addax.sh 时无法正常加载 shared和plugin/*/*/libs的依赖 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addax.