Skip to content

create mobile job#121

Draft
mikev wants to merge 10 commits intomainfrom
hip88-mobile
Draft

create mobile job#121
mikev wants to merge 10 commits intomainfrom
hip88-mobile

Conversation

@mikev
Copy link
Copy Markdown
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
Comment thread manifests/poc-data-cluster/prod/spark/iot-region-counts-silver.yaml Outdated
query.sql: |
SELECT
date, sum(payload_size) AS payload_total
FROM TABLE_IOT_PACKETS
Copy link
Copy Markdown
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
Copy Markdown
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?

Comment thread manifests/poc-data-cluster/prod/spark/iot-data-reward-totals-silver.yaml Outdated
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