Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Chart

error on json export

More
5 months 3 weeks ago - 5 months 3 weeks ago #3745 by brian clark
error on json export was created by brian clark
Hi Robert

I keep getting this error I have changed the value or size for each column. Im not sure if thats what it is talking about or the source / read size = 0 for each column, and json write to length to 999999999

I got the json to work fine in mongodb up until a file is 16mb or large which i assume is a limit in your software too?
Mongodb settings are now at 99mb max size for the html just in case. SO import into final database should be fine here. So far it has been except larger files. I have plenty of spare ram 46gb and terabytes of space.

 

Cheers
Brian
Last edit: 5 months 3 weeks ago by brian clark.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3746 by brian clark
Replied by brian clark on topic error on json export
having issues uploading 665kb image file

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3747 by FlowHeater-Team
Replied by FlowHeater-Team on topic error on json export
Hi Brian,

Images are restricted to max. 1 MB and a resolution of 1920x1080 (Full HD), perhaps this is the issue?

Related to your JSON Adapter error. Could you please post your created definition and some test cases, Thanks?

Please note: A field length of 0 means no cutting or filling, the length is flexible in FlowHeater.

 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3748 by brian clark
Replied by brian clark on topic error on json export
its mostly text and html files, the max size is around 9800 kb for one website.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3749 by brian clark
Replied by brian clark on topic error on json export
I will upload all the files via email and you can test it. seems to have a wierd limit on memory usage for json. or some settings are wierd.

 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3750 by brian clark
Replied by brian clark on topic error on json export
email sent with links to files, keep private if you can please. Thanks

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3751 by FlowHeater-Team
Replied by FlowHeater-Team on topic error on json export
Hi Brian,

Thanks for the example data, with this I found the issue. As soon as a fix is available I´ll get back to you here.

 

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3752 by brian clark
Replied by brian clark on topic error on json export
I will be testing out 87 million html files approx. out of 280 million records via 2700 csv files. 
So plenty of testing can be done. Will report anything in the future I come across with your software. Really needs to be put to a heavy test. Even maybe 8 copies running at once to max out the cores and ram. Should be doable in 48gb spare ram. In terms of a plan.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3753 by FlowHeater-Team
Replied by FlowHeater-Team on topic error on json export
Hi Brian,

In the current beta version, the issue has been fixed. You can download the fixed version here: Download Beta Version

Now the JSON Adapter supports on WRITE site files greater than 2 GB, only 64-bit version!


 

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3754 by brian clark
Replied by brian clark on topic error on json export
yes its working... phew lol
Will test some more, mongodb seems to like the json just fine.
Will update later this evening.
Cheers
Thanks for the fix
Brian

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago - 5 months 3 weeks ago #3755 by brian clark
Replied by brian clark on topic error on json export
Mongodb error with regex it works fine
without it, it doesnt. so by removing any or escaping : via regex
just one issue its massively slower.
2min 51 without regex
11 mins ish with regex.
If its compatible json it should by default handle : in the content, especially html files.
Should fix this then its 100% compatible json.
 
Last edit: 5 months 3 weeks ago by brian clark.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3756 by brian clark
Replied by brian clark on topic error on json export
Regex setup, its already in the file.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago - 5 months 3 weeks ago #3757 by brian clark
Replied by brian clark on topic error on json export
it might also be the : in the column names on import from text adaptor. you should fix or have a means to remove special characters on import. removing such things. then it will auto connect the other side saving a tonne of time and mistakes.
testing now with them removed for both read and writes 

nope tested, same error on import for mongodb.
only with regex taking : out of the html or escaped can it import. 
Last edit: 5 months 3 weeks ago by brian clark.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3758 by brian clark
Replied by brian clark on topic error on json export
Mongodb error with regex it works fine
without it, it doesn't. so by removing any or escaping : via regex
just one issue its massively slower.
2min 51 without regex  does not work with mongodb / json import
2min 55 with with regex. bracket : bracket * and replace with escaped \: does not work with mongodb / json import
17 mins ish with regex. bracket : bracket * and replaced with nothing. works fine with mongodb import as json
If its compatible json it should by default handle : in the content, especially html files.
Should fix this then its 100% compatible json.

removing the : from the columns test seems to work fine for mongodb.
Would be nice to have an adaptor for just mongodb (json) as its good to advertise with mongodb adaptor on your website too.
I tried other ETLs and they process at bloatware level
x etl 1 53 mins 100k records 
x etl 2 37 mins 100k records.
x etl 3 lost the will to live lol

Yours destroyed them all in performance, just some fixes here and there for text to mongodb / json would be awesome. the difference of 5 times faster like for like. is a good start but json issue 
for mongodb import should be fixed. Nothing out there to touch it unless we go full c sharp scripting.

 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3759 by brian clark
Replied by brian clark on topic error on json export
yes the : in the write side is not causing the issue.
but the =" in the columns are, importing fine now
So the rel=" are the issues.
So on the json you should have a autoremove of "

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3760 by brian clark
Replied by brian clark on topic error on json export


 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3761 by brian clark
Replied by brian clark on topic error on json export
I would strip those out only on export. That way the autoconnect works regardless, then auto removes the " and works out fine for json/mongodb

 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3762 by FlowHeater-Team
Replied by FlowHeater-Team on topic error on json export
Hi Brian,

Thanks for your analysis. I´ll fix the issue with the JSON field name and the sign " with the next version.

Please note: The character “:” is a valid sign for JSON field names and of course also string content. This must not be quoted.

 

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3763 by brian clark
Replied by brian clark on topic error on json export
awesome, no regex, 5 min conversion per 100k records into memory. 

Please Log in or Create an account to join the conversation.

Time to create page: 0.383 seconds
FlowHeater Logo

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Legal information

Support & Contact

Contact

Phone:
0951 / 9933 9792

eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.


Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.