-
Notifications
You must be signed in to change notification settings - Fork 9
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
create mobile job #121
base: main
Are you sure you want to change the base?
create mobile job #121
Conversation
manifests/poc-data-cluster/prod/spark/iot-region-counts-silver.yaml
Outdated
Show resolved
Hide resolved
query.sql: | | ||
SELECT | ||
date, sum(payload_size) AS payload_total | ||
FROM TABLE_IOT_PACKETS |
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.
Have you tested these? I don't think you can do an aggregate in spark streaming without a window
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.
It does not need to be an aggregate over a 24-hour period. The count(region) could be over whatever time period the job chooses. However the job windows do need to be non-overlapping. How can we guarantee non-overlapping windows?
Create a MOBILE job to create the bronze/mobile_reward_share table
Include IOT Packet Metrics Jobs