cancel
Showing results for 
Search instead for 
Did you mean: 
Lakebase Discussions
Ask questions, share challenges, and connect with others working on Lakebase. From troubleshooting to best practices, this is where conversations happen.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ctgchris
by • New Contributor III
  • 1762 Views
  • 2 replies
  • 0 kudos

Error on Lakebase Postgres Autoscaling Table Tab

I can't view my lakebase postgres autoscaling project's table tab.The error id is: 3760588e08b843c5a4aebac770f8e967

  • 1762 Views
  • 2 replies
  • 0 kudos
Latest Reply
POCUSER
New Contributor III
  • 0 kudos

Hi @ctgchris,I'm experiencing the same issue — unable to view the table tab on Lakebase Postgres Autoscaling. Has there been any update or resolution on this? Any workaround would be appreciated as well.Thanks!

  • 0 kudos
1 More Replies
Lode
by • Databricks Partner
  • 3779 Views
  • 1 replies
  • 0 kudos

Resolved! Lakebase in an enterprise setup

Hi,Has anyone managed to get the new Lakebase autoscaling fully working in an enterprise Azure setup?We are currently facing issues when setting up Lakebase autoscaling in a Databricks environment without a public IP, where all traffic is routed priv...

  • 3779 Views
  • 1 replies
  • 0 kudos
Latest Reply
emma_s
Databricks Employee
  • 0 kudos

Hi,  so I think what is happening as different types of tools get routed to lakebase via different paths and I believe you need to open up an additional private link. The docs here explain it pretty well. https://learn.microsoft.com/en-us/azure/datab...

  • 0 kudos
Sbolo
by • New Contributor
  • 1103 Views
  • 1 replies
  • 0 kudos

"Unknown Error" when running simple select query in Lakebase SQL Editor

Hello! I am experiencing a confusing issue with LakeBase. I created a new project and I tried to run the example query provided in the SQL Editor to create a first table. Unfortunately, the query failed with "Unknown Error" and not further explanatio...

image.png
  • 1103 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @Sbolo ,Which Lakebase are you using? Provisioned or Autoscaling? And since you also got following error:"Public access is not allowed for workspace: <id here>"I think it can be a networking issue. Try to create private endpoints and check if this...

  • 0 kudos
Sega2
by • New Contributor III
  • 1023 Views
  • 1 replies
  • 0 kudos

Calling a Lakebase project API directly from an web frontend

Today we have an web frontend and custom API that we call from the frontend. I can see Lakebase projects support an API and SQL over REST. And we are considering whether skipping the custom API and calling the Lakebase API directly. However I see som...

  • 1023 Views
  • 1 replies
  • 0 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 0 kudos

Hi @Sega2, I don't there are many patterns or approaches published widely yet. In general, though, for production web apps, you may want to consider something like frontend --> thin backend --> Lakebase rather than calling Lakebase Data API directly ...

  • 0 kudos
Sega2
by • New Contributor III
  • 2066 Views
  • 1 replies
  • 0 kudos

Resolved! Lakebase branches and permissions to SQL editor

Our admin created a project for lakebase branching. My user has "Can manage" permissions. I can create branches etc, however when I run something in the SQL editor i get following error:"ERROR: permission denied for schema public (SQLSTATE 42501)CREA...

  • 2066 Views
  • 1 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Greetings @Sega2 , I did some digging and here is what I found.  Your screenshot (thanks for sharing, it was helpful) is showing a user running a Postgres CREATE TABLE statement in the Lakebase SQL Editor and hitting this error: In Lakebase, there ar...

  • 0 kudos
Sega2
by • New Contributor III
  • 2368 Views
  • 4 replies
  • 0 kudos

Resolved! Promoting changes from dev branch to production

I am playing with branches in lakebase. I have created a dev under prod, applied som changes. How do you merge/promote the dev into prod? Have not found any things in the UI?Thanks, Thomas

  • 2368 Views
  • 4 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @Sega2, I can help with this. Welcome to Lakebase branching. As the earlier reply mentioned, Lakebase branches use copy-on-write technology rather than Git-style merging, so the workflow for promoting changes is a bit different from what you might...

  • 0 kudos
3 More Replies
skarpeck
by • Databricks Partner
  • 3262 Views
  • 3 replies
  • 1 kudos

Lakebase not accessible in Private Network

We have a VNET Injected workspace in Azure. There are multiple SQL Warehouse which are easily accessible from Private Network - both directly from VM and via VPN on client's machine. We deployed Lakebase. Inside the Workspace, connectivity is working...

  • 3262 Views
  • 3 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

Summary Lakebase operates in the Databricks Serverless compute plane, meaning it does not reside inside your injected VNET. Connection timeouts from external tools are typically caused by blocked outbound ports or missing front-end Private Link confi...

  • 1 kudos
2 More Replies
pdiamond
by • Contributor
  • 2366 Views
  • 3 replies
  • 1 kudos

Resolved! Lakebase error logs

Anyone know where to see any logs related to Lakebase/Postgres? I have a Tableau Prep flow that is failing but the error is not clear and I'm trying to find out what the database is capturing.

  • 2366 Views
  • 3 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

There are multiple ways of monitoring Lakebase errors and warnings.   This will let you see what Tableau is actually sending and how it behaves (e.g., repeated failing INSERT). 3. Control‑plane / audit logs for Lakebase Databricks audit logs include...

  • 1 kudos
2 More Replies
ctgchris
by • New Contributor III
  • 3630 Views
  • 1 replies
  • 1 kudos

Resolved! Databricks App how to setup lakebase postgres connection locally

I'm developing a FastAPI middleware app (Databricks App) that connects to both a SQL Warehouse (Unity Catalog) and a Lakebase PostgreSQL instance using async SQLAlchemy. The app works perfectly when deployed to Databricks, but I'm trying to set up lo...

  • 3630 Views
  • 1 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

Summary You should be able to test your FastAPI endpoints locally. Lakebase supports direct external connections via the standard PostgreSQL wire protocol, meaning your local SQLAlchemy setup can directly query the Lakebase instance without needing t...

  • 1 kudos
apindozzi
by • New Contributor II
  • 2731 Views
  • 5 replies
  • 1 kudos

Resolved! Disable Lakebase and Model Serving (Foundation Models) at Account and/or Workspace level

 Hello Databricks Support Team,we would like to understand whether it is possible to disable specific Databricks product capabilities in our environment, both at Account level and at Workspace level.1) LakebaseWe would like to confirm if Databricks L...

  • 2731 Views
  • 5 replies
  • 1 kudos
Latest Reply
pradeep_singh
Honored Contributor III
  • 1 kudos

Got it . Since Lakebase went GA recently its enabled by default now . You will need to open a support ticket to disable it . https://docs.databricks.com/aws/en/resources/support 

  • 1 kudos
4 More Replies
Jeffrey-
by • New Contributor II
  • 6084 Views
  • 6 replies
  • 7 kudos

Resolved! How to use Row Level Security on a Sync table in Lakebase

Hi,Im trying to test some stuff out with the Databricks Lakebase, i want to connect the Lakebase to our custom frontend application. Using lakebase, since it is postgres based should result in faster query performance. I created a synced table to syn...

  • 6084 Views
  • 6 replies
  • 7 kudos
Latest Reply
sarahbhord
Databricks Employee
  • 7 kudos

Hi @Jeffrey-  Short answer: you’re not doing anything wrong—this is expected with Lakebase synced tables. UC row filters/masks don’t apply to Lakebase synced tables yet; RLS must be defined on the Postgres side separately. Synced tables are owned in ...

  • 7 kudos
5 More Replies
ttsaklanos
by • New Contributor
  • 1242 Views
  • 2 replies
  • 1 kudos

Resolved! Is it possible to have Lakebase Postgres as a compute option for an AI/BI Dashboard?

Can dashboards be powered by Lakebase Postgres?I noticed I can select it in the 'Queries' editor, but it doesn't seem to be an option for dashboards, which currently only shows SQL Warehouse and Serverless.Any way around this?Our aim is to support a ...

  • 1242 Views
  • 2 replies
  • 1 kudos
Latest Reply
KartikBhatnagar
New Contributor III
  • 1 kudos

You can register Lakebase as read-only foreign catalog. In this case both computes will be used ( Sql end point and Lakebase). Doing lots of entitlement filtering via ABAC policies when dashboard being used can be tricky. Pre aggravated MV can be a c...

  • 1 kudos
1 More Replies
andres920310
by • Databricks Partner
  • 2252 Views
  • 2 replies
  • 4 kudos

Resolved! BUG: Agent deployment fails with PERMISSION_DENIED for Lakebase dependency when created via databric

SummaryWe are encountering a PERMISSION_DENIED error when deploying a Databricks Agent that uses Lakebase for agent memory, even though the endpoint creator has all documented permissions.The failure happens during serving endpoint creation, which is...

  • 2252 Views
  • 2 replies
  • 4 kudos
Latest Reply
pradeep_singh
Honored Contributor III
  • 4 kudos

Can you check the MLFlow version you are using .  https://docs.databricks.com/aws/en/generative-ai/agent-framework/agent-authentication#supported-resources-for-automatic-authentication-passthrough 

  • 4 kudos
1 More Replies
DaPo
by • New Contributor III
  • 3826 Views
  • 3 replies
  • 3 kudos

Resolved! Lakebase -- Enable RLS in synced Table

Dear all,I am currently testing Lakebase for integration in our overall system. In particular I need to enable RLS on a Lakebase table, which is synced from a "Delta Streaming Table" in UC. Setting up the data sync was no trouble, in UC I am the owne...

  • 3826 Views
  • 3 replies
  • 3 kudos
Latest Reply
Advika
Community Manager
  • 3 kudos

Hello @DaPo! Could you please confirm whether you are the owner of the table within the Lakebase Postgres (not just in Unity Catalog)?Also, can you try creating a view on the synced table and then configure RLS on that view?

  • 3 kudos
2 More Replies
pdiamond
by • Contributor
  • 1256 Views
  • 1 replies
  • 2 kudos

Resolved! Lakebase query history / details

Is there somehwere in Databricks that I can see details about queries run againt one of my Lakebase databases (similar to query history system tables)?What I'm ultimately trying to figure out is where the time is being spent between when I issue the ...

  • 1256 Views
  • 1 replies
  • 2 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 2 kudos

Hi @pdiamond ,Currently in beta there's a feature that let's you monitor active queries:https://docs.databricks.com/aws/en/oltp/projects/active-queriesAlso in beta there's Lakebase SQL editor that will allow you to analyze queries:https://docs.databr...

  • 2 kudos