Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql reader is not setting query result variables #536

Open
marcghaly opened this issue Aug 10, 2022 · 1 comment
Open

sql reader is not setting query result variables #536

marcghaly opened this issue Aug 10, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@marcghaly
Copy link
Contributor

In the following dataflow, trying to use output mapping for the sql reader will not work as the result of the query is not set

Screenshot from 2022-08-10 11-55-55

Instead of manually entering the integer representing the student role, retrieving it from db would be a better option in case it ever changes

Screenshot from 2022-08-10 12-00-17

Screenshot from 2022-08-10 11-56-06

@marcghaly marcghaly added the bug Something isn't working label Aug 10, 2022
@marcghaly marcghaly changed the title sql reader is not setting query result sql reader is not setting query result variables Aug 10, 2022
@brendanheywood
Copy link
Contributor

This looks to me like you want to use an sql flow step as a once off connector step and just save it's output into a step variable rather than the flowing record. I think that is a perfectly valid business case and we can either implement a second sql connector step in the mean time before #422 is implemented which I am expecting to be a fairly large internal refactor.

If this is blocking then lets just clone the sql flow step into a sql connector step for the time being and we can merge them later.

@brendanheywood brendanheywood added enhancement New feature or request and removed bug Something isn't working labels Aug 10, 2022
@brendanheywood brendanheywood added this to the BCPS milestone Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants