This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (#9) Weird behavior with some characters appearing string arguments
- Loading branch information
1 parent
6e76928
commit d0728d9
Showing
5 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"col1","col2" | ||
"Á","Á" | ||
"B","B" | ||
"Č","Č" |
4 changes: 4 additions & 0 deletions
4
engines/engines-core/src/test/resources/outputs/smallab_simple-transform.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
col1,col1_new,col2,col2_new | ||
Á,A,Á,Á | ||
B,B,B,B | ||
Č,Č,Č,C |
68 changes: 68 additions & 0 deletions
68
engines/engines-core/src/test/resources/transforms/smallab-simple-transform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"op": "core/column-addition", | ||
"description": "Create column col1_new at index 1 based on column col1 using expression grel:value", | ||
"engineConfig": { | ||
"mode": "row-based", | ||
"facets": [] | ||
}, | ||
"newColumnName": "col1_new", | ||
"columnInsertIndex": 1, | ||
"baseColumnName": "col1", | ||
"expression": "grel:value", | ||
"onError": "set-to-blank" | ||
}, | ||
{ | ||
"op": "core/column-addition", | ||
"description": "Create column col2_new at index 3 based on column col2 using expression grel:value", | ||
"engineConfig": { | ||
"mode": "row-based", | ||
"facets": [] | ||
}, | ||
"newColumnName": "col2_new", | ||
"columnInsertIndex": 3, | ||
"baseColumnName": "col2", | ||
"expression": "grel:value", | ||
"onError": "set-to-blank" | ||
}, | ||
{ | ||
"op": "core/mass-edit", | ||
"description": "Mass edit cells in column col1_new", | ||
"engineConfig": { | ||
"mode": "row-based", | ||
"facets": [] | ||
}, | ||
"columnName": "col1_new", | ||
"expression": "value", | ||
"edits": [ | ||
{ | ||
"fromBlank": false, | ||
"fromError": false, | ||
"from": [ | ||
"Á" | ||
], | ||
"to": "A" | ||
} | ||
] | ||
}, | ||
{ | ||
"op": "core/mass-edit", | ||
"description": "Mass edit cells in column col2_new", | ||
"engineConfig": { | ||
"mode": "row-based", | ||
"facets": [] | ||
}, | ||
"columnName": "col2_new", | ||
"expression": "value", | ||
"edits": [ | ||
{ | ||
"fromBlank": false, | ||
"fromError": false, | ||
"from": [ | ||
"Č" | ||
], | ||
"to": "C" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters