Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrangler e2e tests #665

Conversation

AnkitCLI
Copy link
Contributor

wrangler e2e tests for datatype,Hl7 and fixedlength parsers.

@Vipinofficial11 Vipinofficial11 added the build Triggers unit test build label Sep 11, 2023
@AnkitCLI AnkitCLI force-pushed the Wrangler_parsing_1 branch 4 times, most recently from 2ccb508 to 20e551a Compare September 15, 2023 09:21
"scope": "SYSTEM"
},
"properties": {
"directives": "parse-timestamp :time\nparse-as-currency :price :newprice\nformat-as-currency :newprice :format_price\nparse-as-simple-date :create_date yyyy-MM-dd\nparse-as-simple-date :update_date yyyy-MM-dd\ndiff-date create_date update_date diff_date\ntimestamp-to-datetime :update_date\nrename newprice id",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use v2 grammar for diff-date to avoid confusion:

diff-date :create_date :update_date :diff_date

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added @d7c0e9a2f6f220bd70bb2195b86e486118081eac

@@ -0,0 +1,180 @@
{
"name": "parse_HL7_Wrangler",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# the License.

@Wrangler_Required
Feature: Wrangler - Run time scenarios for parse as Fixedlength
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: parse as fixed length

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"scope": "SYSTEM"
},
"properties": {
"directives": "parse-as-fixed-length :fixedlength 2,4,5,3\nsplit-url url\nwrite-as-csv :url_protocol\nurl-encode :url\nurl-decode :url\nencode base32 fixedlength\ndecode base32 fixedlength_encode_base32\nsplit-to-columns :url_query '='\nrename fixedlength_2 id\nfilter-rows-on condition-true fixedlength_4 !~ 'XYZ'",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use v2 grammar for directives:
split-url :url

encode base32 :fixedlength

decode base32 :fixedlength_encode_base32

rename :fixedlength_2 :id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Vipinofficial11
Copy link
Contributor

Merging the PR as requested by the team.

@Vipinofficial11 Vipinofficial11 merged commit ad7736c into data-integrations:develop Oct 5, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Triggers unit test build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants