pentaho-spoon

select mongodb aray element in a single field in pentaho PDI

无人久伴 提交于 2020-12-15 06:35:24
问题 Following is the structure of the document i have in a collection in MongoDB { "_id": { "$oid": "5f48e358d43721376c397f53" }, "heading": "this is heading", "tags": ["tag1","tag2","tag3"], "categories": ["projA", "projectA2"], "content": ["This", "is", "the", "content", "of", "the", "document"], "timestamp": 1598612312.506219, "lang": "en" } When i am importing data in PDI using the mongodb input step the system is putting each array of the "content" element in a different field I want to

select mongodb aray element in a single field in pentaho PDI

亡梦爱人 提交于 2020-12-15 06:33:29
问题 Following is the structure of the document i have in a collection in MongoDB { "_id": { "$oid": "5f48e358d43721376c397f53" }, "heading": "this is heading", "tags": ["tag1","tag2","tag3"], "categories": ["projA", "projectA2"], "content": ["This", "is", "the", "content", "of", "the", "document"], "timestamp": 1598612312.506219, "lang": "en" } When i am importing data in PDI using the mongodb input step the system is putting each array of the "content" element in a different field I want to

select mongodb aray element in a single field in pentaho PDI

天大地大妈咪最大 提交于 2020-12-15 06:32:27
问题 Following is the structure of the document i have in a collection in MongoDB { "_id": { "$oid": "5f48e358d43721376c397f53" }, "heading": "this is heading", "tags": ["tag1","tag2","tag3"], "categories": ["projA", "projectA2"], "content": ["This", "is", "the", "content", "of", "the", "document"], "timestamp": 1598612312.506219, "lang": "en" } When i am importing data in PDI using the mongodb input step the system is putting each array of the "content" element in a different field I want to

requests: RecursionError: maximum recursion depth exceeded

こ雲淡風輕ζ 提交于 2020-08-02 07:37:46
问题 I am using Python 3.6.5 on the following remote server setup: Server: Windows 10 Python: 3.6.5 Requests: 2.18.4 Pentaho: 8.0 When I run request.get against URLs in the server's command prompt, it gets the JSON as expected: >>> import requests >>> response = requests.get(url, headers=headers) >>> json = response.json() >>> print(json) {'d': {'results': [{'_ ... However when I run the same script in CPython for Pentaho 8.0, I get RecursionError: maximum recursion depth exceeded Full log: 2018

(stderr) =256m“”==“” was unexpected at this time in Pentaho Shell script

陌路散爱 提交于 2019-12-25 00:44:54
问题 This question is almost similar to pentaho: error (stderr) =256m""=="" was unexpected at this time. while calling kitchen command (dos command using shell script job entry) from job But It differs in clarity as I am providing exact details and also that question is 3 years old which also brings in version issues. Also, that question isn't answered yet and there are no other solutions available on internet except few pages which only have unanswered question. Hence posting this again with more

How to validate one csv data compare with another csv file using Pentaho?

六月ゝ 毕业季﹏ 提交于 2019-12-24 20:11:13
问题 I have two csv file . In one file i have 10 rows and in another list of data . What i want to do is , check the data of one filed of first csv and compare it with another csv file . So how can i achieve this ? Any help would be great . 回答1: The step you are looking for is named the a Stream Lookup step.` Read you CSV and the reference files, and drop the two flows in a Stream Lookup and set it up as follow: a) Lookup step = the step that reads the reference b) Keys / field = the name of field

Running pentaho spoon UI in intellij

泄露秘密 提交于 2019-12-24 06:06:19
问题 I have been trying to setup dev environment for pentaho kettle but had some trouble to run Spoon.Java and I see lot of ClassNotFoundException com.google.api..... Maybe because the dependencies of plugins package is not under the class path of the UI package to run the spoon application. How can I effeciently setup dev environment and run Spoon tool from intellij for development and debugging ? There are older articles but it seems to be outdated since ivy/ant is not used anymore, only Maven