Skip to content

Commit

Permalink
Merge pull request #262 from metafacture/261-uniqErrorIntegrationTest
Browse files Browse the repository at this point in the history
Introduce integrationtest for #261
  • Loading branch information
fsteeg committed Oct 7, 2022
2 parents 5fbd0f0 + 330d6e2 commit ce9157f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
@@ -0,0 +1,7 @@
{
"subject": [ {
"keywords" : [ "ETL", "ELT", "Extract", "Load", "Transform", "Data Quality" ]
},{
"keywords" : [ "dog", "zebra", "cat" ]
} ]
}
@@ -0,0 +1,7 @@
{
"subject": [ {
"keywords" : [ "ETL", "ELT", "Extract", "Load", "Transform", "Data Quality", "Extract", "Load", "Transform", "Transform" ]
},{
"keywords" : [ "dog", "dog", "zebra", "cat", "cat" ]
} ]
}
@@ -0,0 +1 @@
uniq("subject[].*.keywords[]")
@@ -0,0 +1,8 @@
FLUX_DIR + "input.json"
|open-file
|as-records
|decode-json
|fix(FLUX_DIR + "test.fix")
|encode-json(prettyPrinting="true")
|write(FLUX_DIR + "output-metafix.json")
;
@@ -0,0 +1 @@
See issue #261

0 comments on commit ce9157f

Please sign in to comment.