question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding data mapper when no previous output shape is provided

See original GitHub issue

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x] Documentation issue or request

Description

It seems to me that a data mapper step is only selectable when a previous step in the integration provides some supported output data shape? Why is that? I can imagine a data mapper to be required also when no previous step provides an output shape.

Users may need to map from constant values or properties only, too. When no output data shape has been found in previous steps the data mapping is not displayed even though a mapping is mandatory for the integration to work.

Example Integration: Timer -> SQL invoke -> Log

Even in case the SQL invocation specifies placeholders that should be mapped (insert into todo (task, completed) values (:#task, 0)) the data mapper is not offered to the user.

I think data mapping step should be available all the time.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
gashcrumbcommented, Jun 6, 2019

@zregvart I actually only changed this in the react impl as it so happened the discussion was happening right when we were bringing some of this code over, here’s the commit.

0reactions
zregvartcommented, Jun 6, 2019

I’ve tried this on a Timer to SQL integration, I can’t add the mapper in between those. I can see that the SQL connector has an inputDataShape. Was this case covered/considered with this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Mapper | Tray.io Documentation
The Data Mapper allows you to set up data mappings. ... The resulting output has the same shape as the original data but...
Read more >
Defining a Data Mapping Flow with Input and Output Metadata
Add a new DataMapper to a flow. In the Input section of the the Select Input and Output Type pane, select Type JSON,...
Read more >
Data Mapping Configuration
A data mapping configuration file contains the information necessary for data mapping: the settings to read the source file (Delimiter and ...
Read more >
Data Mapping Using the Siebel Data Mapper
Use this method when you have made a change to a map and you would like to run Execute after these changes. This...
Read more >
Chapter 7. Mapping integration data to fields for the next ...
The data mapper displays a line that connects the two fields that you just selected. Optionally, preview the data mapping result. This is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found