- 2740 Views
- 0 replies
- 0 kudos
I have the below schemaschema = StructType([StructField(name="Test",dataType=StringType(),nullable=False,metadata={"description": "This is to test metadata description."})])data = [('Test1',), ('Test2',), ('Test3',)]
df = spark.createDataFrame(data, ...
- 2740 Views
- 0 replies
- 0 kudos
- 5222 Views
- 1 replies
- 0 kudos
I'm trying to connect to tables/views in Databricks using Python(via VS Code). However, I'm getting the following error:- File "C:\Users\XXXXXXXX\AppData\Roaming\Python\Python311\site-packages\urllib3\util\retry.py", line 592, in incrementraise MaxRe...
- 5222 Views
- 1 replies
- 0 kudos
- 7575 Views
- 0 replies
- 0 kudos
Hi ! I am writing because I am trying to get the data from network usage from a databricks job cluster. I know that the data is on spark-ui / storage but when the job cluster is terminate I cannot acces to the information , and I trying to make some ...
- 7575 Views
- 0 replies
- 0 kudos
- 11622 Views
- 3 replies
- 3 kudos
Hi,How can I set up the notification email to show all of rows from query_result_table, not only first 10?
- 11622 Views
- 3 replies
- 3 kudos
Latest Reply
I see that my previous message has been cut. So, I just wanted to check where can I change email setting using the code above, because when I open User > Account Settings > Notifications I can see only option like this: there is no place to configur...
2 More Replies
by
NC
• New Contributor III
- 6064 Views
- 1 replies
- 0 kudos
Hi,I have a workflow setup in Databricks using 12.2 LTS ML.I am trying to use a job cluster for the task but i am getting the following error: Spark Conf: ‘spark.databricks.acl.enabled’ is not allowed when choosing an access modeAs a result I have to...
- 6064 Views
- 1 replies
- 0 kudos
- 19470 Views
- 1 replies
- 1 kudos
HelloI do face:Some streams terminated before this command could finish!java.lang.NoClassDefFoundError: scala/compat/java8/FutureConverters$Running some very simple query on eventhub :df = spark \.readStream \.format("eventhubs") \.options(**ehConf) ...
- 19470 Views
- 1 replies
- 1 kudos
Latest Reply
Of course just after writing that post I did realized how dummy this question is .... after adding scala_java8_compat_2_12_1_0_2.jar it works as expected
by
Bhanu1
• New Contributor III
- 2157 Views
- 0 replies
- 0 kudos
Please see sample code I am running below. What options can I explore to improve speed of query execution in such a scenario? Current full code takes about 4 hrs to run on 1.5 billion rows. Thanks!SELECT fullVisitorId ,VisitId ,EventDate ,PagePath ,d...
- 2157 Views
- 0 replies
- 0 kudos
- 4551 Views
- 1 replies
- 0 kudos
I have a Databricks notebook for which I want to create an API. From that API I will have to call the notebook and perform certain operations. Result will be sent back to API. I dont want to do via Postman, as someone has to install Postman at their ...
- 4551 Views
- 1 replies
- 0 kudos
by
Anonym
• Databricks Partner
- 2108 Views
- 1 replies
- 0 kudos
The source path that i want to ingest files with is:"gs://bucket-name/folder1/folder2/*/*.json"I have a file in this path that ends with ".json.gz" and the databricks job ingests this file even though it doesn't suppose to.How can i fix it?Thanks.
- 2108 Views
- 1 replies
- 0 kudos
- 9923 Views
- 0 replies
- 0 kudos
I deleted the aws s3 bucket for the databricks metastore by mistake.How to fix this? can I re-create the s3 bucket? Or can I delete the metastore (I don't have much data in it), and re-generate one? Thank you!
- 9923 Views
- 0 replies
- 0 kudos
- 15468 Views
- 2 replies
- 1 kudos
Hello All,I'm not be able to access the account console page. I'm a portal admin, my workspace is premium, and yet the Databricks portal stays in a loop, always returning to the Workspaces Overview page and not going to the accounts console page so t...
- 15468 Views
- 2 replies
- 1 kudos
Latest Reply
Guys, the problem is that I was not signed in as a Global Administrator in Azure AD. After that, I reset all the Browser settings and I was able to do that. Here's the tip.
1 More Replies
by
sanjay
• Valued Contributor II
- 2317 Views
- 1 replies
- 1 kudos
Hi,I have pyspark dataframe which calls pyspark udf which in turn calls sagemaker endpoint. But when dataframe has more rows, endpoint start failing. Also it takes longer to process.Please suggest how to call sagemaker endpoint from pyspark.Regards,S...
- 2317 Views
- 1 replies
- 1 kudos
- 2344 Views
- 0 replies
- 0 kudos
Sometimes getting this kind of error "org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 12224.0 failed 4 times, most recent failure: Lost task 1.5 in stage 12224.0 (TID ) (12.xxx.x.xxx executor 1): com.datab...
- 2344 Views
- 0 replies
- 0 kudos