Databricks Predictive AI Functions Move Forecasting Into SQL, but Trust Is the Real Test
Databricks released five Predictive AI Functions in beta, moving forecasting and related machine learning tasks directly into SQL, dashboards, and Genie. The company says analysts can now answer predictive questions without building or maintaining separate models. That promise targets a persistent bottleneck, but it also shifts responsibility from data scientists to the platform and its users.
The release includes an upgraded ai_forecast function and four new functions. They cover driver analysis, anomaly detection, numerical prediction, and classification. Databricks Predictive AI Functions therefore reach beyond sales forecasting into several recurring questions that business teams bring to data departments.
The important conflict is not Databricks against one competing warehouse. It is self-service prediction against the traditional model-development process. Google BigQuery and Snowflake already bring machine learning closer to warehouse users, so SQL-based prediction is not new. Databricks is betting that a smaller set of managed functions can make the process accessible enough for ordinary analytics work.
That convenience carries a larger obligation. A forecast can run successfully while still producing a bad business decision. Teams must understand data quality, evaluation windows, uncertainty, and changing market conditions even when the platform manages the underlying model.
Databricks Predictive AI Functions Turn Five ML Tasks Into SQL
The release replaces several custom modeling requests with five managed functions that analysts can invoke where they already examine data.
Databricks announced the beta on October 14, 2026. According to its Predictive AI Functions announcement, the functions work in SQL, AI/BI dashboards, and Genie, the platform’s conversational analytics interface.
The five functions address distinct analytical questions. ai_forecast projects a time series into the future. ai_top_drivers identifies segments associated with a change in a metric. ai_detect_anomalies finds observations that fall outside an expected range.
The other two functions handle common prediction tasks. ai_predict_value estimates a continuous value, such as demand or delivery time. ai_predict_class assigns a category, such as a likely outcome or customer segment.
Databricks presents each function as a native SQL operation backed by centrally maintained machine learning models. Analysts can place the output inside queries and pipelines instead of exporting data into a separate modeling environment. They can also expose results through dashboards or ask Genie to invoke the functions through natural-language questions.
This placement matters because many predictive requests start inside routine reporting. An executive sees a revenue chart and asks where it will move next. An operations manager notices a spike and asks whether it is unusual. A product lead sees conversion fall and asks which segment drove the change.
Those questions often become tickets for a data science team. The team must define the target, prepare data, select a method, validate it, and build a delivery process. A request that takes seconds to express can require days of technical work.
Databricks wants to compress that path into a query. Its examples use the New York City taxi trips dataset to forecast ride volume, identify unusual observations, and answer predictive questions inside existing analytics surfaces.
The upgraded ai_forecast uses a pretrained, transformer-based time-series foundation model. A time-series foundation model learns recurring temporal patterns across many datasets before receiving a customer’s specific series. Databricks says this design supports forecasting without task-specific model tuning.
The function also accepts information that can change a forecast. Holiday settings help represent recurring calendar effects. External covariates, meaning related variables known to influence the target, can include promotions, prices, or marketing spending.
That combination makes the release broader than a conversational assistant placed above a dashboard. The functions execute analytical operations against governed data and return structured outputs that other SQL steps can use.
Still, the beta label is important. Databricks is introducing a managed prediction layer, not declaring the end of model development. The practical question is where standardized functions work well enough to replace a custom project.
The Immediate Pressure Falls on Analytics and Data Science Teams
Databricks is pressuring organizations to decide which predictive requests deserve custom models and which should become routine analyst work.
Data scientists are not disappearing from this workflow. Their role moves toward evaluation, governance, and difficult cases. If a managed function handles recurring forecasts, specialists can spend less time rebuilding similar pipelines for different departments.
The change also puts pressure on analytics engineers. They may become responsible for production queries that contain predictive outputs alongside transformations and business logic. That expands the definition of a reliable data product.
Traditional SQL checks determine whether records arrived, columns match expected types, and transformations calculate correctly. Predictive functions require additional tests. Teams must examine forecast error, prediction intervals, false alerts, drift, and performance across business segments.
Business analysts face a different pressure. They gain faster access to prediction, but they also need better judgment about what a model output means. A result is not reliable merely because it appears beside a familiar chart.
Consider a quarterly sales forecast. Historical patterns may capture seasonality, but a planned market exit can make those patterns irrelevant. A promotion may increase volume while reducing margin. A forecast can also miss a sudden supply constraint that does not appear in the input data.
External covariates help only when teams select and maintain them correctly. They must be available for both the historical period and the forecast horizon. A variable that is highly correlated with past sales may be unavailable or unknowable in the future.
Driver analysis creates a related challenge. A function can identify which segments contributed most to a metric change. That does not automatically establish that those segments caused the change. Contribution and causation answer different questions.
Classification and value prediction require their own safeguards. Training labels can encode old business rules or unequal treatment. Missing-value predictions can look precise while hiding weak evidence for a particular group.
The release therefore changes the queue, not the underlying standards. Straightforward requests can move toward self-service, while ambiguous or high-impact questions still require specialist review.
This division should depend on consequences. A rough staffing forecast used for early planning has different risk from a prediction that changes credit, healthcare, or employment decisions. The same ease of invocation should not imply the same approval process.
Teams will also need ownership rules. Someone must decide which source tables are suitable, how outputs are monitored, and when a result needs escalation. Without that structure, self-service prediction can multiply inconsistent answers instead of eliminating bottlenecks.
A useful operating model separates exploration from operational use. Analysts can explore patterns quickly, then promote valuable queries through review and testing. That preserves speed without treating every ad hoc prediction as production evidence.
The release also raises expectations for data platforms. If prediction becomes part of ordinary SQL, administrators must govern access, cost, lineage, and reproducibility alongside conventional queries.
For knowledge workers consuming these results, context remains essential. A prediction without its assumptions, source period, and evaluation history is difficult to challenge. Teams can use a searchable knowledge base to keep those decisions attached to the analysis.
Managed Prediction Challenges the Custom Model Pipeline
The central contest is between immediate, standardized answers and slower models built around one organization’s exact problem.
A custom forecasting pipeline offers control. Data scientists can select algorithms, engineer features, define loss functions, and tune the model for a business objective. They can also build specialized treatments for sparse data, product launches, structural breaks, or unusual calendars.
That flexibility has a cost. Every additional model creates development and maintenance work. Teams must manage dependencies, compute environments, scheduled retraining, monitoring, and interfaces that deliver the result.
Databricks Predictive AI Functions invert that tradeoff. The platform chooses and maintains the modeling approach. Users supply data and parameters, then receive a result through a familiar analytical interface.
For common requests, standardization can be valuable. Multiple departments can use the same managed implementation instead of commissioning separate versions. A function called from a dashboard and the same function called through Genie should follow a shared analytical path.
Central maintenance can also deliver model improvements without forcing every customer to rebuild its pipeline. That benefit depends on Databricks preserving stable behavior, documenting changes, and giving teams enough information to evaluate new versions.
The forecast function illustrates the mechanism. A pretrained model begins with patterns learned from a broad collection of time series. It can then generate a forecast from a new series without conventional per-dataset training.
This technique is often called zero-shot forecasting. “Zero-shot” means that the model applies prior learning to the target series without being trained specifically for that forecasting task.
Databricks says the upgraded function recognizes seasonality and trends automatically. It also supports holiday effects and covariates, which address business-specific factors that a generic historical pattern might miss.
The company evaluated ai_forecast with fev-bench and reported a higher task win rate than a leading cloud data warehouse and its previous function. The fev evaluation library supports reproducible forecasting tasks, probabilistic predictions, covariates, and several error metrics.
Databricks defines the reported win rate through scaled quantile loss. Quantile loss evaluates forecasts across probability levels and penalizes predictions according to their distance from observed outcomes. Scaling helps comparisons across series with different units.
However, the launch post does not provide enough public detail to generalize that result to every workload. Readers need the exact task set, competitor configuration, input constraints, model versions, and complete error distribution. A win rate alone does not show the size of each win or loss.
The distinction matters because forecasting quality varies by domain. A model can perform well across many benchmark tasks and still struggle with a retailer’s short-lived products or a manufacturer’s intermittent demand.
Custom pipelines retain an advantage when the business objective differs from a generic statistical metric. An inventory team may care more about avoiding stockouts than minimizing average forecast error. Another team may assign greater cost to overestimating demand.
A managed function can still support those teams as a baseline. It provides an immediate result against which specialists can compare custom methods. If a bespoke model cannot outperform the managed baseline enough to justify its maintenance burden, standardization becomes attractive.
This is the strongest interpretation of the release. Databricks is not replacing all predictive modeling. It is raising the minimum capability available inside the warehouse and forcing custom projects to prove their added value.
BigQuery and Snowflake Show This Is a Platform Race
Databricks joins a broader contest to make machine learning feel like a native data operation rather than a separate software project.
Google has already brought model training and inference into BigQuery through SQL. Its platform covers forecasting, anomaly detection, regression, classification, contribution analysis, and other machine learning tasks.
BigQuery also offers a managed forecast function backed by TimesFM. Google’s built-in TimesFM documentation describes univariate and multivariate forecasting without requiring users to create a separate model.
The BigQuery function supports identifiers for multiple time series, prediction intervals, context-window controls, and future covariates. Google also maintains conventional model-building paths for teams that need more control.
Snowflake provides forecasting and anomaly-detection functions within its platform. Its documented GBM anomaly models compare observed values against a forecast and use a gradient boosting machine to identify outliers.
These competing approaches share an important direction. Cloud data platforms want customers to analyze, predict, and act without moving governed data into a separate stack.
The differences will emerge in model quality, usability, workload requirements, integration, and transparency. Teams should test the same business series across platforms rather than infer superiority from one vendor’s benchmark.
Databricks has an integration advantage for customers already using its SQL warehouses, dashboards, and Genie. The same function can connect conversational questions with repeatable SQL and visible dashboard outputs.
Google can point to BigQuery ML’s mature range of model-building workflows. Those workflows let SQL practitioners train and evaluate several model types while retaining more control than a single managed function provides.
Snowflake has also integrated machine learning functions into its data environment. Its anomaly detection workflow shows how warehouse platforms can hide much of the model-development process while still exposing analytical outputs.
The result is not a simple feature checklist. A function called “forecast” can differ in accepted data, context limits, treatment of missing values, uncertainty outputs, and support for explanatory variables.
Governance surfaces also matter. An enterprise buyer must ask whether administrators can restrict access, trace each result to its data, and reproduce a prediction after the service changes.
Natural-language access adds another dimension. Genie can make functions available to people who do not write SQL. That widens adoption, but it can also hide important query details from the person making a decision.
A conversational interface should therefore expose the generated query, selected columns, filters, time horizon, and uncertainty. Otherwise, users may evaluate a fluent explanation instead of the actual analytical procedure.
Databricks argues that specialized predictive methods let Genie answer questions a general-purpose language model cannot handle reliably. That distinction is sound in principle. Language models generate text, while forecasting requires numerical methods tied to ordered observations and evaluation metrics.
The interface can still misinterpret the request before calling the correct method. A user asking why revenue changed might mean regional contribution, price-volume decomposition, or causal impact. Those are not interchangeable analyses.
The platform race will therefore depend on more than making functions callable. The winning products must help users frame the right question, inspect the calculation, and recognize when the result does not support a conclusion.
Beta Limits Make Validation Part of the Product
The biggest uncertainty is whether self-service users will validate predictions with the same care that specialists apply to custom models.
At least one function already has concrete beta constraints. Databricks documentation says ai_detect_anomalies requires a Pro or Serverless SQL warehouse and enrollment in the Predictive AI Functions preview.
The function examines the history before each value, estimates an expected range, and assigns an anomaly score. Users can adjust a threshold that controls when a row receives an anomaly flag.
Its current anomaly detection limits include a maximum of 8,192 input rows per time series. Each series also needs unique timestamps, and one invocation can analyze only one value column.
The first eight rows provide historical context and do not receive ordinary anomaly outputs. Teams using short series must understand how that affects coverage.
The function also offers smoothing, which can join nearby alerts into one anomalous episode. Smoothing may make incidents easier to read, but it can mark normal values inside a short gap.
Those details show why “no model to manage” does not mean “no analytical choices.” Thresholds, grouping columns, covariates, holidays, and scoring windows all affect the result.
False positives create operational costs. An alerting system that flags routine variation can exhaust its users. False negatives create a different risk because a consequential change can pass without review.
Forecasts require backtesting, which evaluates predictions against historical periods that were hidden from the model. Teams should test several horizons because accuracy at seven days does not guarantee accuracy at one quarter.
They should also compare the managed model with simple baselines. Last-period values, seasonal averages, and established statistical methods often provide useful reference points. A sophisticated model should earn trust by improving relevant outcomes.
Prediction intervals deserve attention. A point forecast gives one expected value, while an interval communicates a plausible range. Decisions based only on the midpoint can create false certainty.
Segment-level evaluation is equally important. An overall forecast may look accurate because high-volume products dominate the metric. Performance can remain poor for smaller regions or newly launched products.
Data leakage presents another danger. Leakage occurs when a model receives information that would not have been available at prediction time. A covariate can appear valid in historical data while making future evaluation unrealistically easy.
Driver analysis needs disciplined language. A ranked segment can explain arithmetic contribution to a change without proving why customer behavior changed. Teams should reserve causal claims for designs that identify causal effects.
Classification outputs can also amplify historical problems. If labels reflect inconsistent human decisions, automating those labels can reproduce the inconsistency at greater scale.
Model updates introduce reproducibility questions. Centrally maintained models can improve automatically, but the same query may eventually produce a different result. Enterprises need version records and change notices for important decisions.
The beta period should reveal whether Databricks provides enough evaluation tooling around the functions. Useful additions would include built-in backtests, baseline comparisons, performance summaries, and alerts for deteriorating accuracy.
Until then, teams should attach a compact model card to operational uses. It should state the target, data window, forecast horizon, input variables, known limitations, validation method, and accountable owner.
That documentation does not need to slow experimentation. It becomes necessary when an output enters planning, automated actions, or executive reporting.
A concise AI workflow can also preserve assumptions and follow-up decisions. The goal is to stop a temporary prediction from becoming an undocumented organizational fact.
Three Signals Will Show Whether the Bet Works
The next test is not whether analysts can call the functions, but whether organizations repeatedly trust and operationalize their outputs.
The first signal is evidence from customer workloads. Databricks has shown examples using public taxi data and reported benchmark comparisons. Buyers now need published results from retail, finance, manufacturing, software, and other operating environments.
The strongest evidence will include forecast horizons, baseline models, uncertainty calibration, and changes in error after deployment. It should also show where the managed functions fail.
Broad customer evidence would strengthen the argument that one maintained model layer can serve varied business questions. Narrow or heavily curated examples would weaken that claim.
The second signal is deeper evaluation and governance support. Watch for native backtesting, model-version visibility, lineage, monitoring, and approval controls around operational queries.
Those capabilities would show that Databricks treats prediction as more than another SQL expression. They would also reduce the gap between quick analysis and a governed production process.
A lack of evaluation tooling would shift more work back to customers. That outcome would preserve some of the original bottleneck, even if model training itself becomes easier.
The third signal is the response from BigQuery, Snowflake, and other analytical platforms. Competing vendors can answer with new functions, stronger benchmarks, better conversational integration, or clearer controls.
A fast competitive response would confirm that managed predictive SQL has become a central data-platform category. Weak adoption across vendors would suggest that custom tools still serve most serious forecasting needs.
Teams do not need to wait for the market to settle. They can begin with one bounded use case where decisions are reversible and outcomes arrive quickly.
A weekly demand forecast is easier to evaluate than a multi-year strategic projection. An anomaly alert reviewed by a human is safer than an alert that automatically changes customer access.
Start by writing down the decision that the output will support. Then define a baseline, evaluation period, error tolerance, and escalation rule before comparing results.
Run the managed function against historical windows and record performance by segment. Include prediction intervals and examine the largest failures, not only the average score.
If the function performs well, place it inside an existing dashboard with its assumptions visible. Keep a specialist review step until the team understands how the result behaves through seasonal changes and unusual events.
Databricks Predictive AI Functions make advanced analysis easier to request and deploy. Their lasting value will depend on whether teams make evaluation equally accessible.
The release gives analysts a shorter path from data to forecast. It also removes some friction that previously forced organizations to pause before operationalizing a model. That makes disciplined review more important, not less.
Which recurring question is consuming your data team’s time today? Choose one, test the managed result against a simple baseline, and document where it succeeds or fails. That comparison will reveal whether Databricks has removed a real bottleneck or merely moved it downstream.



