cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform 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

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

Resolved! 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 ?

  • 1336 Views
  • 2 replies
  • 0 kudos
Latest Reply
raphaelblg
Databricks Employee
  • 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
  • 1613 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
  • 1613 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
JamesY
by New Contributor III
  • 2670 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 Platform Discussions
Databricks
Scala
SqlMi
  • 2670 Views
  • 6 replies
  • 0 kudos
Latest Reply
brockb
Databricks Employee
  • 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
  • 3247 Views
  • 5 replies
  • 1 kudos

Resolved! [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, ...

  • 3247 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
hukel
by Contributor
  • 3361 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/...

  • 3361 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
rodrigosanchesz
by New Contributor II
  • 13057 Views
  • 0 replies
  • 0 kudos

Change adls gen2 attached to Unity Catalog metastore from premium to standard

Hello,Our cloud platform engineer created Azure storage for the production Unity Catalog metastore in our environment, but mistakenly chose the Premium tier instead of the Standard tier.Unfortunately, this decision is impacting our costs on Azure, as...

  • 13057 Views
  • 0 replies
  • 0 kudos
Ender
by New Contributor II
  • 2072 Views
  • 2 replies
  • 0 kudos

Accessing ADLS Gen2 related Hadoop configuration in notebook

I have a cluster in which I have the required configuration to access an ADLS Gen2, and it works without any problems.I want to access this storage using the Hadoop filesystem APIs. To achieve this, I am trying to get the Hadoop configuration from th...

Ender_1-1717335940727.png Ender_3-1717336689720.png
  • 2072 Views
  • 2 replies
  • 0 kudos
Latest Reply
Ender
New Contributor II
  • 0 kudos

By the way how do you achieve inline code highlighting in the editor I tried `` but it didn't work.

  • 0 kudos
1 More Replies
Shawn_Eary
by Contributor
  • 1275 Views
  • 1 replies
  • 2 kudos

Resolved! DAIS24 Attendee Badge - Oops

I wasn't at DAIS24, but I received one of these emails and it appears to have come from Databricks. I think I was given the badge in error. Can we have it removed?Just Wondering,Shawn

Shawn_Eary_1-1717680651702.png
  • 1275 Views
  • 1 replies
  • 2 kudos
Latest Reply
Sujitha
Databricks Employee
  • 2 kudos

Hi @Shawn_Eary Thank you for bringing this to our attention. We were conducting a test on badges, and some of our community members may have received this email by accident. We have revoked the changes now, please ignore the message.

  • 2 kudos
vabadzhiev
by New Contributor II
  • 1698 Views
  • 1 replies
  • 0 kudos

Tableau Prep Save Output to Databricks

Has anyone run into use cases where your data scientist/data engineer end users build Tableau Prep Flows and steps in Tableau Prep Flow require saving output back into Databricks? There appears to be no native support for this in Tableau Prep if the ...

  • 1698 Views
  • 1 replies
  • 0 kudos
Latest Reply
vabadzhiev
New Contributor II
  • 0 kudos

These are awesome suggestions. To expand on our setup, we also have Informatica Cloud - IICS (CMI, CDI, etc.) connected to the entire setup generally used for bringing data from a source (PaaS, SaaS, On-prem SQL, Flat Files or streaming devices) to D...

  • 0 kudos
kazinahian
by New Contributor III
  • 7524 Views
  • 2 replies
  • 0 kudos

Seeking Tips: Ways to Master Databricks on Azure?

Hello everyone. I'm currently learning Databricks on Azure through a Udemy course. Recently, I was surprised by a charge of $86 from Azure, which has made me cautious about continuing in this manner. Is there a more cost-effective approach to learn D...

  • 7524 Views
  • 2 replies
  • 0 kudos
Latest Reply
LauraMurphy
New Contributor II
  • 0 kudos

Thank you so much for the information.

  • 0 kudos
1 More Replies
samarth10
by New Contributor II
  • 972 Views
  • 1 replies
  • 0 kudos

Assigning a group as USER to service principal

How can we assigning a group as USER to service principal using databricks-sdk, this is not supported?

  • 972 Views
  • 1 replies
  • 0 kudos
Latest Reply
samarth10
New Contributor II
  • 0 kudos

I found this API, https://docs.databricks.com/api/account/accountaccesscontrol/updaterulesetbut its PUT and GET method both requires a parameter "etag", how can someone know this "etag"?

  • 0 kudos
Henrik
by New Contributor III
  • 2268 Views
  • 3 replies
  • 0 kudos

List granted access for a group or a user

Is there any way where I can see what access a group or a user have been given to objects (Tables, views, catalogs etc.)?I noticed that we have the following information_schema tables:catalog_privilegesroutine_privilegestable_privilegesschema_privile...

  • 2268 Views
  • 3 replies
  • 0 kudos
Latest Reply
anardinelli
Databricks Employee
  • 0 kudos

Hi @Henrik  To grant a user the privilege to query system tables, a metastore admin or another privileged user must grant USE and SELECT permissions on the system schemas.   GRANT USAGE ON CATALOG system TO <user_name>; GRANT USAGE ON SCHEMA informa...

  • 0 kudos
2 More Replies
Kasen
by New Contributor III
  • 1078 Views
  • 1 replies
  • 0 kudos

Materialized view in DLT pipeline

When setting up DLT pipeline, there are 3 types of product edition, Core, Pro and Advanced. When I compare DLT Classic Core and DLT Classic Pro, the difference is that DLT Classic Pro can handle CDC. Does it means if I'm using DLT Classic Core, I hav...

Community Platform Discussions
DLT pipeline
Materialized view
  • 1078 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kasen
New Contributor III
  • 0 kudos

Also, If I'm using DLT Classic Core for DLT pipeline, the materialized view will be doing a full refresh or just update on the rows that have changes? 

  • 0 kudos