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

create mobile job #121

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

create mobile job #121

wants to merge 10 commits into from

Conversation

mikev
Copy link
Contributor

@mikev mikev commented Jul 21, 2023

Create a MOBILE job to create the bronze/mobile_reward_share table

Include IOT Packet Metrics Jobs

@mikev mikev self-assigned this Jul 21, 2023
@mikev mikev requested a review from ChewingGlass July 21, 2023 21:43
@mikev mikev marked this pull request as draft July 21, 2023 21:47
@mikev mikev requested a review from ThornM9 July 21, 2023 21:55
query.sql: |
SELECT
date, sum(payload_size) AS payload_total
FROM TABLE_IOT_PACKETS
Copy link
Collaborator

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

Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants