-
Notifications
You must be signed in to change notification settings - Fork 21
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
Vishal Singh-Module5 #87
base: main
Are you sure you want to change the base?
Conversation
…haining and hash map
Module 5/Question 1/Problem1.json
Outdated
"itemId": 2, | ||
"name": "Product B", | ||
"quantity": 1, | ||
"price": 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Price should have double type value, please correct in all questions.
|
||
{ | ||
"Name": "John", | ||
"Hobbies": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Age field is missing.
} | ||
|
||
|
||
Json spec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong approach and output as well.
Module 5/Question 14/Problem14.json
Outdated
|
||
Ouput Json | ||
|
||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the required output structure also one field is missing.
"totalAmount": "=intSum(@(1,totalAmount))", | ||
"id": "@(1,orders[0].customerId)" | ||
}, | ||
"[0]": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
totalPrice field is missing in output.
Also using customerId instead of index to add name will be better.
I have learned Basics of Jolt.
Along with that I have explored