โ08-22-2024 10:28 PM
If we use REST API to perform some operation on the Databricks cluster- like running some SQL Statements, will that be chargeable, will it costs us.
โ08-22-2024 11:08 PM - edited โ08-22-2024 11:10 PM
Hi @pv12 ,
Performing REST API request is not chargeable. You're chargeable for certain action. For example, if in your request you're going to start cluster and run some sql, then you'll be charged standard price for running compute cluster etc.
So to sum up, you can make as many request as you can want and you'll be not charged. But once your request is going to start cluster, rub job (anything involving compute) you're going to pay the price for using that compute
โ08-22-2024 11:08 PM - edited โ08-22-2024 11:10 PM
Hi @pv12 ,
Performing REST API request is not chargeable. You're chargeable for certain action. For example, if in your request you're going to start cluster and run some sql, then you'll be charged standard price for running compute cluster etc.
So to sum up, you can make as many request as you can want and you'll be not charged. But once your request is going to start cluster, rub job (anything involving compute) you're going to pay the price for using that compute
โ08-26-2024 02:27 AM
Hi @szymon_dybczak ,
Can you please be more specific about running SQL? Does it mean every SQL query irrespective of the statement will be charged as per the compute cluster ?
โ08-26-2024 04:36 AM
The API call itself is free. But ANY code that is executed on a Databricks cluster (be it sql, python,...) is charged as it consumes hardware + DBU (except for community edition).
So to answer your question: yes, any sql will be charged.
โ08-26-2024 06:57 AM
Yep, to sum up - anything that requires compute power and makes the cluster to spin up will be charged.
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now