cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

doremon11
by New Contributor
  • 608 Views
  • 1 replies
  • 0 kudos

unable to perform modifications on Table while Using Python UDF in query

Here, we're trying to use the Python UDF inside the query.taking the table as function input converting the table into dataframe performing modification converting the dataframe into table returning the table  How can we create spark context inside U...

  • 608 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @doremon11, Unfortunately, creating a Spark context inside a UDF directly in the query is not possible. The Spark context is a global object and cannot be created within a UDF. UDFs are designed to operate on data within a DataFrame, not to create...

  • 0 kudos
jhrcek
by New Contributor II
  • 677 Views
  • 4 replies
  • 0 kudos

Misleading UNBOUND_SQL_PARAMETER even though parameter specified

Hello. Please forgive me if this is not the right place to ask, but I'm having issues with databricks' statement execution api. I'm developing Haskell client for this api.I managed to implement most of it, but I'm running into issues with using named...

  • 677 Views
  • 4 replies
  • 0 kudos
Latest Reply
jhrcek
New Contributor II
  • 0 kudos

Ok, I thing I found what's behind this.This seems to be a bug in spark itself.Here's how I was able to reproduce it in spark-shell running in docker container:https://gist.github.com/jhrcek/49386004a9a47172649158af288106f4I think it's best if I just ...

  • 0 kudos
3 More Replies
roshambles
by New Contributor II
  • 589 Views
  • 2 replies
  • 0 kudos

Unable to use Serverless SQL Warehouse

Hello, We have a workspace in West Europe, which we were using with multiple Serverless SQL Warehouses.  Recently it suddenly stopped working and presented with the following error when trying to restart an existing serverless warehouse.  I am an adm...

roshambles_0-1709468629547.png
Warehousing & Analytics
serverless
SQL warehouse
  • 589 Views
  • 2 replies
  • 0 kudos
Latest Reply
roshambles
New Contributor II
  • 0 kudos

Raised a ticket with Azure support but they haven't been very helpful so far to be honest.  No uncleared bills and serverless seems disabled for all workspaces in the subscription.  Someone mentioned accepting terms and conditions for serverless comp...

  • 0 kudos
1 More Replies
DataFarmer
by New Contributor II
  • 980 Views
  • 2 replies
  • 1 kudos

Resolved! How to let Business Users edit tables in Databricks

Hi Community!I have the requirement that business users shall be able to edit/update tables in Unity Catalog, e.g. master data records, mapping tables. I also want thes actions to be logged for auditing/troubleshooting.Is there any simple solution to...

  • 980 Views
  • 2 replies
  • 1 kudos
Latest Reply
kenwong
New Contributor III
  • 1 kudos

We do have a few partners that offer solutions in this space (e.g. Retool).  Recently, Sigma added support for their InputTable feature which was designed for this use case: https://www.sigmacomputing.com/blog/bring-your-own-data-to-databricks-with-s...

  • 1 kudos
1 More Replies
dwfchu
by New Contributor
  • 2482 Views
  • 1 replies
  • 0 kudos

SQL Warehouse external (to Databricks) access patterns and suggestions

Hi All!Has anyone encountered a situation where we need to setup data access for Unity Catalog tables for read access such as external data marts, dashboard tools and etc.We are currently using Databricks to serve data to people in our organisation t...

Warehousing & Analytics
access
JDBC
permissions
  • 2482 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @dwfchu, Setting up data access for Unity Catalog tables in Databricks involves several considerations. Let’s explore your options and weigh their pros and cons: Personal Access Tokens (PATs): Pros: Quick and easy to set up.Developers can gen...

  • 0 kudos
EWhitley
by New Contributor II
  • 451 Views
  • 1 replies
  • 1 kudos

Documentation on the "test" capabilities in a DAB?

I see there’s a “test” capability within a DAB, but I’d like to know more about how this should/could be used. Does anyone know of any documentation or examples which might provide insights into its intended use?

  • 451 Views
  • 1 replies
  • 1 kudos
Latest Reply
AlliaKhosla
New Contributor III
  • 1 kudos

Hi @EWhitley     You can check and validate whether the Asset Bundle configuration is valid or not by using the below command   databricks bundle validate   If a JSON representation of the bundle configuration is returned, then the validation succeed...

  • 1 kudos
manish05485
by New Contributor II
  • 609 Views
  • 3 replies
  • 0 kudos

Issue setting metastore in GCP Databricks

While setting up metastore in GCP Databricks, I added the bucket name and then  service account permissons as well. Still my catalog dont have base root location. This deters me from creating table in my catalog. Root storage credential for metastore...

  • 609 Views
  • 3 replies
  • 0 kudos
Latest Reply
Ayushi_Suthar
Honored Contributor
  • 0 kudos

Hi @manish05485 , Good Day!  Error:Root storage credential for metastore XXXXXX does not exist. Please contact your Databricks representative or consider updating the metastore with a valid storage Error states that the data access configuration for ...

  • 0 kudos
2 More Replies
Octavian1
by Contributor
  • 1528 Views
  • 6 replies
  • 0 kudos

Resolved! api/2.0/sql/history/queries endpoint does not return query execution time

Hi,I cannot see the query execution time in the response to the "api/2.0/sql/history/queries" request.Basically, I get only the following fields:{"next_page_token":...,"has_next_page":...,"res":[  {     "query_id":...,     "status":..,     "query_tex...

  • 1528 Views
  • 6 replies
  • 0 kudos
Latest Reply
Yeshwanth
Contributor III
  • 0 kudos

Spot on @feiyun0112  So this confirms that the API is working as expected right?

  • 0 kudos
5 More Replies
youssefmrini
by Honored Contributor III
  • 1442 Views
  • 3 replies
  • 0 kudos

Getting started with Databricks lakeview Dashboards

Watch the youtube video : https://www.youtube.com/watch?v=MO7Dk035654

  • 1442 Views
  • 3 replies
  • 0 kudos
Latest Reply
sheilaL
New Contributor II
  • 0 kudos

I am attempting to recreate a legacy dashboard in Lakeview. The bar graph in no way resembles what I created in the SQL visualization editor. Lakeview has far fewer formatting options for one thing.How do I recreate the graph so that it resembles the...

  • 0 kudos
2 More Replies
tawarity
by New Contributor
  • 5354 Views
  • 2 replies
  • 0 kudos

Python Requests Library Error ImportHookFinder.find_spec()

Hi All,I've been using notebooks to run patch requests to an external API using the Python requests library. Often times certain notebooks will randomly start to fail throughout the day and will raise a ImportHookFinder.find_spec() error when attempt...

  • 5354 Views
  • 2 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hey there! Thanks a bunch for being part of our awesome community!  We love having you around and appreciate all your questions. Take a moment to check out the responses – you'll find some great info. Your input is valuable, so pick the best solution...

  • 0 kudos
1 More Replies
sjmb
by New Contributor
  • 984 Views
  • 4 replies
  • 0 kudos

Which object to use in which layer

I completed the Data Engineering Lakehouse course and I am familiar with different objects and concepts of databricks and lakehouse but I cant tie them together in my mind.Where do you typically use managed and non-managed tables? Bronze layer? Or no...

Warehousing & Analytics
Databricks
datalake
Lakehouse
  • 984 Views
  • 4 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hey there! Thanks a bunch for being part of our awesome community!  We love having you around and appreciate all your questions. Take a moment to check out the responses – you'll find some great info. Your input is valuable, so pick the best solution...

  • 0 kudos
3 More Replies
nikhilkumawat
by New Contributor III
  • 503 Views
  • 1 replies
  • 0 kudos

Decrypt and encrypted column in delta lake table in PowerBI

Hi Team,I have a delta table in databricks which contains a encrypted column. For encrypting I am using databricks "aes_encrypt" function. For reference: https://docs.databricks.com/en/sql/language-manual/functions/aes_encrypt.html#aes_encrypt-functi...

  • 503 Views
  • 1 replies
  • 0 kudos
Latest Reply
feiyun0112
Contributor
  • 0 kudos

you can create two cloumns , and display base on userDisplay different columns in Power BI based on logged in user | Paige Liu’s Posts (liupeirong.github.io)

  • 0 kudos
Eric_Kieft
by New Contributor III
  • 944 Views
  • 2 replies
  • 0 kudos

Unity Catalog "this table is deprecated" Functionality

We found a post on LinkedIn that revealed if "this table is deprecated" is added to a table comment, the table will appear with a strikethrough in notebooks and SQL editor windows.  Is this functionality GA?  Is there any documentation on the use of ...

  • 944 Views
  • 2 replies
  • 0 kudos
Latest Reply
Eric_Kieft
New Contributor III
  • 0 kudos

Thanks, @arpit! Is there any documentation on this feature?

  • 0 kudos
1 More Replies
EWhitley
by New Contributor II
  • 678 Views
  • 1 replies
  • 0 kudos

Retrieve task name within workflow task (notebook, python)?

Using workflows, is there a way to obtain the task name from within a task?EX: I have a workflow with a notebook task. From within that notebook task I would like to retrieve the task name so I can use it for a variety of purposes.Currently, we're re...

  • 678 Views
  • 1 replies
  • 0 kudos
Latest Reply
shan_chandra
Honored Contributor III
  • 0 kudos

@EWhitley - could you please try using jobs API - /api/2.1/jobs/get and look for task_key fields to obtain all the task name within a given job.  Reference - https://docs.databricks.com/api/workspace/jobs/get

  • 0 kudos
Shailu1
by New Contributor II
  • 1105 Views
  • 3 replies
  • 2 kudos

Resolved! Snowflake vs Databricks SQL Endpoint for Datawarehousing which is more persistent

Snowflake vs Databricks SQL Endpoint for Datawarehousing which is more persistent

  • 1105 Views
  • 3 replies
  • 2 kudos
Latest Reply
Pritesh2
New Contributor II
  • 2 kudos

Databricks and Snowflake are both powerful platforms designed to address different aspects of data processing and analytics. Databricks shines in big data processing, machine learning, and AI workloads, while Snowflake excels in data warehousing, sto...

  • 2 kudos
2 More Replies
Labels
Top Kudoed Authors