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

Cost per terrabyte #33

Open
dotBet opened this issue May 22, 2024 · 0 comments
Open

Cost per terrabyte #33

dotBet opened this issue May 22, 2024 · 0 comments

Comments

@dotBet
Copy link

dotBet commented May 22, 2024

As per Serverless pricing page and this line of code:

/*$5 per 1TB scan, minimum 10M */

I think that in this line we need to divide by 1 000 000 and you have here only 5 zeroes:

cast((CASE WHEN ERH.data_processed_mb < 10 THEN 10 ELSE ERH.data_processed_mb END)*5/100000.0 as decimal(19,7)) as cost_in_$,

Am I understanding correctly? Could you take a look into it?

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

No branches or pull requests

1 participant