从talend中的mongo对象(子字段)中提取嵌入式数据

发布于 2025-01-28 19:55:49 字数 127 浏览 1 评论 0原文

我正在研究Talend Open Studio的大数据,并连接到MongoDB数据库, 但是我无法从收藏中提取复杂的子字段对象, 有时有4个子字段,当我尝试提取超过子字段中的第一级数据时,我总是会得到无效。 你能帮我吗? 谢谢你< 3

I'm working on Talend open studio for Big Data and connected to a MongoDB Database ,
however i can't extract complex subfields objects from my collections,
sometimes there is 4 levels of subfields and i always get a null when i try to extract more than the 1st level of data inside a sub field.
can you please help me ?
Thank you <3

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

战皆罪 2025-02-04 19:55:49

使用获取和设置方法。仅用于非持久性的数据。

Use get and set methods. Only For data that is non persistent.

疧_╮線 2025-02-04 19:55:49

您可以通过将A *写入架构中的DB列名字段来获取整个JSON对象。

一旦拥有原始JSON,您就可以轻松地从中获得信息。

You can get the whole JSON object by writing a * to the DB column name field in the schema.

Once you have the raw json you could get the information from it a lot easier.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文