cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Constantine
by Contributor III
  • 6076 Views
  • 3 replies
  • 7 kudos

Resolved! collect_list by preserving order based on another variable - Spark SQL

I am using databricks sql notebook to run these queries. I have a Python UDF like   %python   from pyspark.sql.functions import udf from pyspark.sql.types import StringType, DoubleType, DateType   def get_sell_price(sale_prices): return sale_...

  • 6076 Views
  • 3 replies
  • 7 kudos
Latest Reply
Kaniz
Community Manager
  • 7 kudos

Hi @John Constantine​ , Just a friendly follow-up. Do you still need help or do the above responses help you find the solution? Please let us know.

  • 7 kudos
2 More Replies
Vaibhav1000
by New Contributor II
  • 1911 Views
  • 4 replies
  • 1 kudos
  • 1911 Views
  • 4 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

Hi @Vaibhav Gour​ , Just a friendly follow-up. Do you still need help, or @Werner Stinckens​'s response help you to find the solution? Please let us know.

  • 1 kudos
3 More Replies
None123
by New Contributor III
  • 2122 Views
  • 5 replies
  • 4 kudos

Resolved! Open a Support Ticket

Anyone know how to submit a support ticket? I keep getting into a loop that takes me back to the community page, but I need to submit an urgent ticket. I'm told our company pays a ridiculous sum for this feature yet it is impossible to find.Thanks ...

  • 2122 Views
  • 5 replies
  • 4 kudos
Latest Reply
Kaniz
Community Manager
  • 4 kudos

Hi @Adinah Katz​, To view and submit support cases, you must log in to the Databricks Help Center at help.databricks.com.

  • 4 kudos
4 More Replies
Thomas_Lehmann
by New Contributor II
  • 2101 Views
  • 2 replies
  • 1 kudos

Resolved! Declare a constant value in a Databricks noteboook to be used in futher SQL code

I'm new to databricks and try to migrate some former SQL code used so far, in a DB notebook.I have some constants declared and I can't find the right way to similarly declare those in my notebook.I tried %sql DECLARE label_language CONSTANT VARCHAR(2...

  • 2101 Views
  • 2 replies
  • 1 kudos
Latest Reply
Thomas_Lehmann
New Contributor II
  • 1 kudos

Thank you @Hubert Dudek​ , gave it a try and it does the job, both in SQL and in Python btw. When the time will come to industrialize this, I'll have to figure out how to create/use/deal with some configuration files (json, yaml or so). But for explo...

  • 1 kudos
1 More Replies
Richard_547342
by New Contributor III
  • 1316 Views
  • 2 replies
  • 1 kudos

Resolved! Column comments in DLT python notebook

The SQL API specification in the DLT docs shows an option for adding column comments when creating a table. Is there an equivalent way to do this when creating a DLT pipeline with a python notebook? The Python API specification in the DLT docs does n...

  • 1316 Views
  • 2 replies
  • 1 kudos
Latest Reply
Richard_547342
New Contributor III
  • 1 kudos

Just realised this can be done in the schema definitionStructField("column1", StringType(), True, {"comment": "Column One"})

  • 1 kudos
1 More Replies
User16790091296
by Contributor II
  • 723 Views
  • 1 replies
  • 0 kudos

Where is the root Azure Storage instance?

I am trying to access logs from my Databricks notebook which is run as a job. I would like to see these logs in an azure storage account.

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

Hi @PJ Singh​ , The documentation says:The notebook results are stored in workspace system data storage, which is not accessible by users.But you can retrieve these results via UI, via get-output command of Jobs REST API, or via runs get-output comma...

  • 0 kudos
Azam
by New Contributor III
  • 1009 Views
  • 1 replies
  • 2 kudos

Databricks Community Edition Not able to Login Account

I am studying databricks and I have an community edition account since November 19, 2021 and from December 22nd I am not able to login. "Invalid email address or password" error is thrown. When forgot password link is clicked no email is sent to regi...

  • 1009 Views
  • 1 replies
  • 2 kudos
Latest Reply
Kaniz
Community Manager
  • 2 kudos

Hi @Azam Tamboli​ , Please go through the troubleshooting steps here.

  • 2 kudos
SajiD
by New Contributor
  • 727 Views
  • 1 replies
  • 0 kudos

Snowflake Connector for Databricks

Hi everyone, I am working with Databricks Notebooks and I am facing an issue with snowflake connector, I wanted to use DDL/DML with snowflake connector. Can someone please help me out with this, Thanks in advance !!

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

Hi @Sajid Shaikh​ , This article explains how to read data from and write data to Snowflake using the Databricks Snowflake connector.

  • 0 kudos
Emma_Jane
by New Contributor
  • 582 Views
  • 1 replies
  • 0 kudos

SQL server error

What is SQL Server 80004005 error? How to fix?

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

Hi @Emma Jane​ , This article explains it very well. Please have a look.

  • 0 kudos
NicolasJ
by New Contributor
  • 1882 Views
  • 1 replies
  • 0 kudos

Resolved! How to use Apache Sedona on Delta Live tables?

Hello,I am trying to run some geospatial transformations in Delta Live Table, using Apache Sedona.I tried defining a minimal example pipeline demonstrating the problem I encounter.First cell of my Notebook, I install apache-sedona Python package:%pip...

image
  • 1882 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @Nicolas Jean​ , Unfortunately, installing the third-pa/rty Java libraries is not yet supported for the Delta Live Tables, so you can't use Sedona with DLT right now.But suppose you're interested in the geospatial things on Databricks. You may loo...

  • 0 kudos
JeNar
by New Contributor II
  • 886 Views
  • 1 replies
  • 1 kudos

Resolved! Email Verification Databricks Community Edition

I was try to make account in Databricks Community Edition, After finish my registration , i wait for email verification, But until now ..i didn't received email verification. And i try to make 2nd account with my another email. But it same, i didn't ...

  • 886 Views
  • 1 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

Hi @Jehan Nargia​ , Thank you for reaching out!Please share the details over community@databricks.com.Let us look into this for you, and we'll check back in with an update.

  • 1 kudos
valdereo
by New Contributor
  • 4043 Views
  • 4 replies
  • 1 kudos

Resolved! net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::5.0.1 user lacks privilege or object not found: full questionnaire in statement [SELECT * FROM "full questionnaire" WHERE 1=0]

I have followed the steps given here to parse .accdb files using ucanaccess on Azure Databricks, however, I receive errors.See below my code:# Connection properties conn_properties = {"driver" : "net.ucanaccess.jdbc.UcanaccessDriver"}   # Path url = ...

net.ucanaccess.jdbc.UcanaccessSQLException_ UCAExc___5.0.1 user lacks privilege or object not found_ full questionnaire in statement [SELECT _ FROM  "full questionnaire" WHERE 1=0]
  • 4043 Views
  • 4 replies
  • 1 kudos
Latest Reply
Atanu
Esteemed Contributor
  • 1 kudos

@Valeri Nteleah​ please let me know if you need further help on this.Thanks

  • 1 kudos
3 More Replies
gbalboa
by New Contributor
  • 8444 Views
  • 1 replies
  • 4 kudos

Resolved! How do temp views actually work?

So I'm querying data from parquet files that have a couple of billions records (table 1 or t1), and then have to filter and then join with other parquet files with another couple of billions records (t2). This takes quite a long time to run (like 10h...

  • 8444 Views
  • 1 replies
  • 4 kudos
Latest Reply
PeteStern
New Contributor III
  • 4 kudos

Your intuition about views is correct. Views are not materialized, so they are basically just a saved query. Every time you access a view it will have to be recomputed. This is certainly not ideal if it take a long time (like 10hrs) to materialize a ...

  • 4 kudos
TheDataDexter
by New Contributor III
  • 2853 Views
  • 4 replies
  • 4 kudos

Resolved! VNET injected Databricks cluster not able to mount - 403 error

I'm mounting a Storage Account to a Databricks cluster in Azure. All the resources are included in a VNET and a private and public subnet has been associated to the Databricks resource. Below I've attached the guide we use for mounting the ADLS G2 to...

  • 2853 Views
  • 4 replies
  • 4 kudos
Latest Reply
Anonymous
Not applicable
  • 4 kudos

Hey there @Derrick Bakhuis​ Hope you are well. Just wanted to see if you were able to find an answer to your question and would you like to mark an answer as best? It would be really helpful for the other members too.Cheers!

  • 4 kudos
3 More Replies
User16826994223
by Honored Contributor III
  • 470 Views
  • 1 replies
  • 1 kudos

prerequisite for SCIM provisioning

Hi Team Want to know what is the prerequisite for provisioning SCIM provisisoning in Azure

  • 470 Views
  • 1 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

@Kunal Gaurav​ ,ImportantThis feature is in Public Preview.To enable provisioning to Azure Databricks using Azure Active Directory (Azure AD), you must create an enterprise application for each Azure Databricks workspace.NoteThe way provisioning is c...

  • 1 kudos
Labels
Top Kudoed Authors