Comments (2)
Hello Enrico,
Thank you for the thoughtful response and I think at the core you understand exactly the scenario I am thinking of.
I had started looking into implementing this and as it often turns out although the idea is simple the actual impacts get to be quite complicated.
I had not thought of the concatenated field and that suggestion is brilliant in my opinion. Perhaps I'll just add that to the documentation instead of the original idea.
Thank you very much
from bulkimport.
Hi Shad,
Thanks for reaching out!
As a first though, I believe this scenario can definitely happen, but it might not be so common after all, and eventually it could be solved with some data processing.
A possible solution that comes to mind with the current state of the library and your use case, is to add a new field on the Products module (QLI) that stores the concatenation of the two (or N) external systems unique keys and then execute lookups based on that key combination, and create an index in Sugar for lookups on that field only.
Nonetheless, if you do think it is generic enough, it should be pretty easy to implement. The SQL queries would have to accept a number of parameters and those parameters need to be populated from the library and have to be passed to the request.
The challenge I see, is that the more fields you need to lookup on, for every single system's entry, the more additional indexes you should add to Sugar to make the integration/data migration perform well. As those additional indexes most likely would only be valid for integration based lookups (and not to improve end user performance), I have the feeling it might be overall detrimental for the user's system performance.
I am working with limited information and lots of (most likely incorrect) assumptions here, so please bear with me if I misunderstood something, but do let me know what you think about my comments.
Cheers!
from bulkimport.
Related Issues (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 bulkimport.