Unlock powerful insights and forecasts with Predictive AI Functions Databricks released Predictive AI Functions in Beta, adding four new SQL-native functions — ai_top_drivers, ai_detect_anomalies, ai_predict_value, and ai_predict_class — alongside improved accuracy for ai_forecast, which is powered by a transformer-based time series foundation model pretrained on a large collection of time series. The functions let SQL analysts and business users run forecasting, driver analysis, anomaly detection, regression, and classification directly in SQL, in Genie via plain-language questions, or embedded in dashboards, without building or managing ML infrastructure. Databricks maintains the models centrally so teams get consistent answers without tuning. Predictive AI Functions give business users and SQL analysts high-quality forecasting, anomaly detection, driver analysis, and prediction — without advanced ML expertise. by Jonathan Brito https://www.databricks.com/blog/author/jonathan-brito and Gary Shambat https://www.databricks.com/blog/author/gary-shambat Data teams all get asked the same questions: "what will sales be next quarter?," "why did this metric move?," and "is this recent data outside the norm of what we typically see?" Answering these advanced analytics questions usually means handing the work to a data science team to build models and manage infrastructure. This creates a bottleneck where business users wait in line and many questions never even get asked. Predictive AI Functions https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-functions-builtin-alpha , now in Beta, remove that bottleneck by letting analysts and business users run advanced analytics like forecasting, driver analysis, and anomaly detection, all through built-in functions backed by state-of-the-art ML models. These SQL-native functions can be called directly in SQL, invoked in Genie https://www.databricks.com/product/genie/one with plain-language questions, or embedded in dashboards. Because Databricks maintains the models centrally, teams get high-quality, consistent answers without building or managing infrastructure. This launch adds four new SQL native functions and improved accuracy to ai forecast : ai forecast : project a time series into the future ai top drivers : find which segments most drove a change in a metric ai detect anomalies : flag outlier rows in temporal data ai predict value : predict continuous values regression ai predict class : predict categorical values classification To showcase how these functions can be used across Databricks, we'll walk through examples in dashboards, SQL, and Genie using the NYC taxi trips dataset. Dashboards are where teams watch the metrics that run their business, and often where they turn to see where those metrics are headed next. With ai forecast , teams can project metrics and surface those forecasts alongside the rest of their reporting. The new ai forecast makes it easy to get high-quality forecasts without any tuning. It's powered by a transformer-based time series foundation model, pretrained on a huge, diverse collection of time series the way a large language model is trained on text. Because it already recognizes common patterns like seasonality and trends, it produces accurate forecasts on your data with no tuning required. The visualization below uses ai forecast to project the monthly ride volumes in the NYC taxi trips dataset through the end of 2027. The forecast reveals expected seasonal patterns in taxi demand, providing a data-driven view of where ridership is headed. The new ai forecast not only handles general patterns automatically, it also introduces features to let teams add factors specific to their business. With built-in holiday support, teams can automatically account for local events like Christmas dips and school-holiday spikes. Teams can also specify external covariates, feeding in the factors that drive a metric, such as pricing changes or marketing spend, so forecasts better reflect their business. This launch also introduces four new functions for the ad-hoc advanced analytics questions commonly asked by data teams. Each one, like ai forecast , is a native SQL function. Analysts can call them directly in the SQL editor or a notebook, run them across hundreds of millions of rows, and feed the results into their queries and pipelines alongside the rest of their work. Compared to developing custom models for similar functionality, this compresses development time and increases accessibility to more users. For example, the query below aggregates NYC taxi trips into a daily revenue time series and passes it to ai detect anomalies , which automatically fits a model to the data and flags unusual days. These same functions will be available to business users through Genie ai top drivers is available today, with ai forecast , ai detect anomalies , ai predict value , and ai predict class coming soon . Anyone can ask a question in plain language, like why revenue dropped last quarter or which customers are likely to churn, and Genie calls the right function to return a grounded, model-backed answer, with no SQL or ML expertise required. The query below uses ai top drivers to automatically identify which time-of-day and weekday/weekend segments contributed the most to the change in NYC taxi fare revenue between January and February 2016. It ranks each segment by its absolute and relative revenue impact, revealing that weekday midday hours drove the largest gain while the weekday evening rush was the biggest drag. Because these functions use tailored machine learning methods, they enable Genie to answer questions a general-purpose LLM cannot reliably handle on its own. These functions all deliver high-quality predictions backed by production-grade ML models. Because Databricks maintains those models centrally, that quality stays consistent across every surface, so teams get the same trustworthy result whether a prediction runs in a dashboard, in SQL, or through Genie. Forecasting shows this most concretely. We used fev-bench https://huggingface.co/spaces/autogluon/fev-bench to benchmark the new ai forecast against functions from a leading cloud data warehouse. Task win rate is defined as the percentage of tasks measured by scaled quantile loss where one system achieves a lower probabilistic error than the other. Here's how the options compare: ai forecast outperforms other cloud data warehouse providers as well as the previous version of ai forecast . With Predictive AI Functions, teams get industry-leading accuracy out of the box, on every surface, with no tuning required. Predictive AI Functions turn questions that once required a data science team, like what's next, why did it change, what's wrong, and what's the value, into answers business teams can get themselves, right where they already work: in dashboards, in Genie, and in SQL. The result is advanced analytics for everyone: high-quality predictions that are easy to use, with no models to build or infrastructure to manage. Ready to try it? Get started with Predictive AI Functions here https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-functions-builtin-alpha . Subscribe to our blog and get the latest posts delivered to your inbox.