Open asheem opened 5 years ago
I like it, but I am still unsure about LiteralConformanceRule
and SingleColumnConformanceRule
Here's an explanation of what these two rules actually do. @asheem I trust you can improve on my hasty wording:
LiteralConformanceRule
is more about placing a literal value in a specific column, it has no Input column that it relies on.SingleColumnConformanceRule
just wraps a value in a struct with a single field. The output column specifies where the struct will be placed and the alias specifies what the name of the filed holding the input will be. For example, the following configuration:
Input Column: single_value
Output Column: conformed_struct
Input Column Alias: value
would result in the following output:
single_value | conformed_struct |
---|---|
"asd" | { value : "asd"} |
Thanks guys, now updated.
Place a value from and input column or alias in a struct to an output column.
It's actually not "input column or alias", it is the value of the input column placed as a field in a struct, where the name of the filed is the alias provided:
input_column | output_column |
---|---|
"asd" | { input_column_alias : "asd"} |
Thanks Georgi, now updated.
Background
Conformance Rules can be difficult to understand.
Feature
We can add tooltips to the rules which provide a concise explanation.
Proposed Solution [Optional]