Comments (2)
Hi @vladsrynty,
You are correct that the current implementation of this custom step only supports one input port. So you would need to use the step twice, once for each input table, and have the output table show twice in the flow. See attached screenshot.
Some further clarification: Currently a Table step/node only supports a single input. That's the reason the table shows up twice in the flow. As this then results in multiple "streams" of nodes, the best practice approach is to put them in separate swimlanes. See attached screenshot.
Feel free to modify the custom step definition to support multiple input tables. This can be done by adding one (or more) input table controls in the Custom Step Designer, marking them as "not required" and then using the associated macro varaible in your SAS code. The user can then use the "Add Input Port" option on the node in the flow and attach a table to that port. Be aware that if the port has not been turned on by the user, the associated macro variable will not be generated by the custom step framework code generation and any references to that macro variable would result in warnings/errors at run time. So if the port was names inputTable2, then the SAS code should use %symexist(inputTable2) to check for the existence of the macro variable, and if the macro variable exists only then generate code that includes references &inputTable2. Hope this helps.
@torbenjuul, you contributed this step. Any plans to add support for multiple input tables in your Append Table step?
from sas-studio-custom-steps.
Don't think the contributor has any short term plans to add support for multiple input tables.
Closing this issue now as the question has been answered.
from sas-studio-custom-steps.
Related Issues (7)
- # and ! as separators HOT 4
- Separator not working accurately in some cases. HOT 4
- NLS chars not accurately dealt with HOT 4
- SAS Job Fails due to possible error in airflow HOT 3
- [BUG] Import - CSV with long column names - Unexpected column names generated HOT 2
- [BUG] DQ - Match Code "Match column not propagated when empty" HOT 19
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 sas-studio-custom-steps.