cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

unity_Catalog
by New Contributor
  • 122 Views
  • 0 replies
  • 0 kudos

UCX installation error

I am getting the below error while Installing UCX. But Installation is done in the workspace.I have admin privileges on the workspace. The below error suggests to check token or URL of workspace.They are provided correctly.Then why below error is sho...

  • 122 Views
  • 0 replies
  • 0 kudos
Rapha
by New Contributor II
  • 366 Views
  • 4 replies
  • 0 kudos

Error when cloning repository

Hi all,cloning a devops repo worked like a charm every time, but now I get a weird error, that I do not understandWhat container is meant here and why would I need one?Thanks and regards,Raphael

Rapha_0-1717503863381.png
  • 366 Views
  • 4 replies
  • 0 kudos
Latest Reply
Rapha
New Contributor II
  • 0 kudos

@Yeshwanth I am sorry, I thought I replied to you on friday. I cannot upload a .har file. I get the error message:The file type (.har) is not supported. Valid file types are: jpg, gif, png, pdf.

  • 0 kudos
3 More Replies
jamesdavids
by New Contributor
  • 269 Views
  • 1 replies
  • 0 kudos

Spark Excel Library Insufficient Privileges

HiWe have a shared access mode cluster in which we have installed a maven library for reading excel files into a Spark DataFrame. When using an account with admin rights everything works fine, however when we run it as a standar user we always get `o...

jamesdavids_0-1717747232287.png
  • 269 Views
  • 1 replies
  • 0 kudos
Latest Reply
Walter_C
Valued Contributor III
  • 0 kudos

Hello James, this issue seems to be related to shared cluster limitations, as per docs: Libraries used as JDBC drivers or custom Spark data sources on Unity Catalog-enabled shared compute require ANY FILE permissions.Moving to a single user cluster m...

  • 0 kudos
Prasad_Koneru
by New Contributor II
  • 408 Views
  • 1 replies
  • 0 kudos

Profile setup for databricks Account

Hi Team,we usually do setup profile for databrikcs at workspace level, and i have done this using host url and token which is working fine like below.[DEFAULT]host = workspaceurlusername = ****password = tokenNow my question is how we set for databri...

  • 408 Views
  • 1 replies
  • 0 kudos
Latest Reply
Walter_C
Valued Contributor III
  • 0 kudos

You cannot create a PAT token for you Account Console authentication, on this case you will have 2 options to authenticate:Using Basic auth, on which on your profile you will set you username and password to log in, same as you do to log in in the br...

  • 0 kudos
JameDavi_51481
by New Contributor III
  • 150 Views
  • 1 replies
  • 0 kudos

How to escape column comments when adding them programmatically

I would like to add comments to all of our columns, programmatically. The only way I can find to do this is through SQL DDL - e.g. `alter table sometable alter column somecolumn comment 'some comment string`. However, I want to read this comment stri...

  • 150 Views
  • 1 replies
  • 0 kudos
Latest Reply
brockb
Contributor III
  • 0 kudos

Hi @JameDavi_51481 ,I do not believe this is supported currently, please see this line in the Parameter Marker documentation: > You must not reference a parameter marker in a DDL statement...Ref: https://docs.databricks.com/en/sql/language-manual/sql...

  • 0 kudos
amit-agarwal4
by New Contributor II
  • 411 Views
  • 2 replies
  • 0 kudos

how to clone a table using Column and row level mask

I am working on use case to clone a table which has column and row level masking implemented.Can i clone the table, based on documentation it is not possible. what are the other alternatives i have ?

  • 411 Views
  • 2 replies
  • 0 kudos
Latest Reply
raphaelblg
Contributor III
  • 0 kudos

@amit-agarwal4 At the current moment, I'm not aware of any other way than disabling the RLS.     

  • 0 kudos
1 More Replies
tejas8196
by New Contributor II
  • 399 Views
  • 2 replies
  • 0 kudos

DAB not updating zone_id when redeployed

Hey folks,Facing an issue with zone_id not getting overridden when redeploying the DAB template to Databricks workspace.The Databricks job is already deployed and has "ap-south-1a" zone_id. I wanted to make it "auto" so, I have made the changes to th...

Screenshot 2024-06-05 at 12.40.57 AM.png
Community Discussions
data engineering
  • 399 Views
  • 2 replies
  • 0 kudos
Latest Reply
davicd2658
New Contributor II
  • 0 kudos

Hello,Thanks for the info I will try to figure it out for more.

  • 0 kudos
1 More Replies
GeKo
by New Contributor III
  • 1538 Views
  • 3 replies
  • 0 kudos

Insufficient privileges:User does not have permission SELECT on any file

Hello,after switching to "shared cluster" usage a python job is failing with error message:  Py4JJavaError: An error occurred while calling o877.load. : org.apache.spark.SparkSecurityException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges: User...

Community Discussions
permissions
privileges
python
  • 1538 Views
  • 3 replies
  • 0 kudos
Latest Reply
GeKo
New Contributor III
  • 0 kudos

Hello @Hkesharwani ,thanks for replying.Indeed, as I stated in the beginning of my post, the issue occurs only with shared cluster usage (single user cluster all is fine). Since I *have to* switch to shared cluster (rowlevel security is only availabl...

  • 0 kudos
2 More Replies
AyushPandey
by New Contributor II
  • 1214 Views
  • 4 replies
  • 0 kudos

Unable to reactive an inactive user

Hi all,I am facing an issue with reactivating an inactive user i tried the following json with databricks cli run_update = {  "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ],  "Operations": [    {      "op": "replace",      "path": "ac...

  • 1214 Views
  • 4 replies
  • 0 kudos
Latest Reply
FunkyBunches
New Contributor II
  • 0 kudos

We are getting this same issue.  Somehow two days ago two of our users got set to "Inactive".  We've tried the scripts mentioned in the API but they will not reactivate.We also even got our Azure Owner to run the scripts and generate a pat to try, an...

  • 0 kudos
3 More Replies
Prasad_Koneru
by New Contributor II
  • 468 Views
  • 1 replies
  • 0 kudos

Databricks grant update calatog catlog_name --json @privileges.json not updating privileges

Hi Team, I am trying to update the catalog permission privileges using databricks cli command Grant by appending json file but which is not updating the prIviliges, please help on grant update command usage.Command using :  databricks grants update c...

  • 468 Views
  • 1 replies
  • 0 kudos
Latest Reply
Ravivarma
New Contributor II
  • 0 kudos

Hello @Prasad_Koneru   If the command is not updating the privileges as expected, there could be a few reasons for this.  Firstly, ensure that the JSON file is correctly formatted and contains the correct privilege assignments. The privileges.json fi...

  • 0 kudos
JamesY
by New Contributor II
  • 520 Views
  • 6 replies
  • 0 kudos

Resolved! Retrieve error column/row when writing to sqlmi

Databricks notebook, Scala, .read() .write(), source data csv. Got this error when trying to write data to sqlmi. I understand the error indicated one of the source column value's length exceeded the database column's value length. But the message is...

Community Discussions
Databricks
Scala
SqlMi
  • 520 Views
  • 6 replies
  • 0 kudos
Latest Reply
brockb
Contributor III
  • 0 kudos

Thanks JamesY, I'm not familiar with the limitations of the SQL Server `nvarchar` data type but is there a way that we can filter out the rows that will fail using spark such as: spark.read.format("csv").option("header", "true").load("/path/to/csvs")...

  • 0 kudos
5 More Replies
claudiazi
by New Contributor II
  • 746 Views
  • 5 replies
  • 1 kudos

[TABLE_OR_VIEW_ALREADY_EXISTS] when running create or replace view

When I'm running `dbt run -s model` for different models in parallel on databricks general compute cluster. Im getting the error: TABLE_OR_VIEW_ALREADY_EXISTS. Also, at the same time, the view/table was not created at all.But I run them in sequence, ...

  • 746 Views
  • 5 replies
  • 1 kudos
Latest Reply
claudiazi
New Contributor II
  • 1 kudos

@raphaelblg yes! Im the owner. However, these views are inside the hive_metastore catalog. Could it be the reason?Many thaaanks!

  • 1 kudos
4 More Replies
vigneshkannan12
by New Contributor
  • 173 Views
  • 0 replies
  • 0 kudos

typing extensions import match error

I am trying to install the stanza library and try to create a udf function to create NER tags for my chunk_text in the dataframe.Cluster Config: DBR 14.3 LTS SPARK 3.5.0 SCALA 2.12below code:def extract_entities(text    import stanza    nlp = stanza....

  • 173 Views
  • 0 replies
  • 0 kudos
hukel
by Contributor
  • 1759 Views
  • 2 replies
  • 0 kudos

InconsistentReadException: The file might have been updated during query - CSV backed table

I have some CSV files that I upload to DBFS storage several times a day.   From these CSVs,  I have created SQL tables: CREATE TABLE IF NOT EXISTS masterdata.lookup_host USING CSV OPTIONS (header "true", inferSchema "true") LOCATION '/mnt/masterdata/...

  • 1759 Views
  • 2 replies
  • 0 kudos
Latest Reply
hukel
Contributor
  • 0 kudos

One approach I'm testing (positive results so far, but still early).%sql # Prep and cleanup REFRESH TABLE masterdata.lookup_host; DROP TABLE IF EXISTS t_hosts; # Forcibly cache the needed columns before using the data in another query. CACHE TABLE...

  • 0 kudos
1 More Replies
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!