We're updating the issue view to help you get more done. 

Point and click interaction for setting intermediate variable

Description

As a data scientist, I want to be able to initialize and increment transient variables while processing a record using data preparation, so that I can perform iterative calculations while processing a record.

Acceptance Criteria:
1. The lifetime of the transient variable should be a single record. When processing for a new record begins, the transient variable should not be available, until it is initialized again.
2. The transient variable should have separate conditions for initialization and increment.

Specs:
1. Add a new menu item: Add Transient Variable.
2. Submenu should have 2 sections:
2a. Initialization: Accepts an initial value for a variable, and a JEXL expression, the result of which is assigned to the variable as an initial value.
Label: "Variable Name"
Widget: Textbox
Placeholder: "E.g. count, index"
Label: "Initial value"
Widget: Textbox
Placeholder: "E.g. math:round(temperature), 25, 44.90"
2b. Update: Accepts an increment value (defaults to 1) and a condition upon which the value is updated.
Label: "Increment By"
Widget: Number (defaults to 1)
Label: "Increment Condition"
Widget: Textbox
Placeholder: "E.g. age > 25, first_name.startsWith("s")"

Release Notes

uI: Add Define Variable and Increment Variable point and click directive

Activity

Show:
Lea Cuniberti-Duran
July 19, 2017, 7:40 PM

This is the text for Summary:
Summary: You defined a variable for the cell in row x, in the column “body”

Fixed

Assignee

Edwin Elia

Reporter

Bhooshan Mogal

Labels

Docs Impact

None

UX Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure