cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

nikhilkumawat
by • Databricks Partner
  • 24751 Views
  • 11 replies
  • 15 kudos

Resolved! Get file information while using "Trigger jobs when new files arrive" https://docs.databricks.com/workflows/jobs/file-arrival-triggers.html

I am currently trying to use this feature of "Trigger jobs when new file arrive" in one of my project. I have an s3 bucket in which files are arriving on random days. So I created a job to and set the trigger to "file arrival" type. And within the no...

  • 24751 Views
  • 11 replies
  • 15 kudos
Latest Reply
Jaison
New Contributor III
  • 15 kudos

Issue with Databricks File Arrival Trigger – Missing File Name InformationThe File Arrival Trigger in Databricks is practically useless if it does not provide the file name and path of the triggering file. In Azure Blob Storage triggers (Function App...

  • 15 kudos
10 More Replies
jeremy98
by • Honored Contributor
  • 2728 Views
  • 4 replies
  • 0 kudos

Resolved! how to read excel files inside a databricks notebook?

Hi community,Is it possible to read excel files from dbfs using a notebook file inside Databricks? If yes, how to do it?

  • 2728 Views
  • 4 replies
  • 0 kudos
Latest Reply
jeremy98
Honored Contributor
  • 0 kudos

amazing, yes that's is totally what I need! Thx Stefan! 

  • 0 kudos
3 More Replies
jakub_adamik
by • New Contributor III
  • 3318 Views
  • 2 replies
  • 0 kudos

Resolved! Delta Live Tables - BAD_REQUEST: Pipeline cluster is not reachable.

Hi all,I have very simple pipeline: -- Databricks notebook source CREATE OR REFRESH STREAMING TABLE `catalog-prod`.default.dlt_table AS SELECT * FROM STREAM read_files('/Volumes/catalog-prod/storage/*', format=> 'json') -- COMMAND ---------- CREATE...

jakub_adamik_0-1740565875990.png
  • 3318 Views
  • 2 replies
  • 0 kudos
Latest Reply
jakub_adamik
New Contributor III
  • 0 kudos

Hi,thank you for your response. In the mean time I found the bug Databricks UI which caused this behaviour. I will raise ticket to Databricks. Please see the draft of the ticket bellow for workaround:  We’re facing an issue with Delta Live Tables pip...

  • 0 kudos
1 More Replies
wilmorlserios
by • Databricks Partner
  • 1823 Views
  • 1 replies
  • 0 kudos

Using databricks-sql-connector in Notebook

I am attempting to utilse the databricks-sql-connector python package within a generalised application deployed to run within a Databricks notebook. Upon attempting to import, I am receiving a  module not found error. However, the package is visible ...

wilmorlserios_0-1740576722972.png wilmorlserios_1-1740576738825.png
  • 1823 Views
  • 1 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @wilmorlserios  The import it's incorrect. It should be: from databricks import sql

  • 0 kudos
vk217
by • Contributor
  • 20614 Views
  • 4 replies
  • 1 kudos

ModuleNotFoundError: No module named 'pyspark.dbutils'

I have a class in a python file like this from pyspark.sql import SparkSession from pyspark.dbutils import DBUtils class DatabricksUtils: def __init__(self‌‌): self.spark = SparkSession.getActiveSession() self.dbutils = DBUtil...

  • 20614 Views
  • 4 replies
  • 1 kudos
Latest Reply
T0M
Contributor
  • 1 kudos

Had the same Problem in my GitLab CI/CD Pipeline while trying to deploy: $ databricks bundle deploy -t dev Building package... Error: build failed package, error: exit status 1, output: Traceback (most recent call last): [...] File "/builds/user/...

  • 1 kudos
3 More Replies
MathewDRitch
by • Databricks Partner
  • 6999 Views
  • 5 replies
  • 1 kudos

Connecting from Databricks to Network Path

Hi All,Will appreciate if someone can help me with some references links on connecting from Databricks to external network path. I have Databricks on AWS and previously used to connect to files on external network path using Mount method. Now Databri...

  • 6999 Views
  • 5 replies
  • 1 kudos
Latest Reply
om_khade
New Contributor II
  • 1 kudos

Do we have any update on this?

  • 1 kudos
4 More Replies
ozmike
by • New Contributor II
  • 1721 Views
  • 3 replies
  • 0 kudos

Databrick select from web address that returns JSON

Hi I'm in a data bricks notebook and want to select from a web site that returns json.  For example this web site http://ergast.com/api/f1/2004/1/results.jsonwill return some JSON. (example only) Can i do the following or Do you need to use python. (...

  • 1721 Views
  • 3 replies
  • 0 kudos
Latest Reply
Stefan-Koch
Databricks Partner
  • 0 kudos

yes, you could use SQL to read the data from the volume:%sql SELECT * FROM json.`/Volumes/demo/raw/files/ergast/my_results.json`You still have to flatten the result.The thing with the shell was just an example. Wouldn't recommend that, just use pytho...

  • 0 kudos
2 More Replies
labromb
by • Databricks Partner
  • 9563 Views
  • 7 replies
  • 8 kudos

Databricks Jobs and CICD

Hi, We currently leverage Azure DevOps to source control our notebooks and use CICD to publish the notebooks to different environments and this works very well. We do not have the same functionality available for Databricks jobs (the ability to sourc...

  • 9563 Views
  • 7 replies
  • 8 kudos
Latest Reply
sandeepmankikar
Databricks Partner
  • 8 kudos

To manage Databricks jobs within a DevOps pipeline, start by exporting the job configuration as a JSON file from the Databricks workspace. Parameterize this JSON by replacing environment-specific values with placeholders. Integrate the parameterized ...

  • 8 kudos
6 More Replies
RS1
by • New Contributor III
  • 1714 Views
  • 1 replies
  • 1 kudos

I attended the Advanced Machine Learning with Databricks training last week virtually I am still unable to get the day 2 session videos of any of the...

I attended the Advanced Machine Learning with Databricks training last week virtually I am still unable to get the day 2 session videos of any of the Instructor led Paid Trainings. They are supposed to be available for replay with in 24 hours but I ...

  • 1714 Views
  • 1 replies
  • 1 kudos
Latest Reply
murali9
New Contributor II
  • 1 kudos

I have the same problem.

  • 1 kudos
noorbasha534
by • Valued Contributor II
  • 1565 Views
  • 2 replies
  • 0 kudos

Data processing metrics

Dear all,What are some proven ways of capturing data processing metrics (number of rows processed/updated/inserted, number of micro-batches etc etc) in a PySpark/SQL code based notebook irrespective of the fact it uses auto-loader, structured streami...

  • 1565 Views
  • 2 replies
  • 0 kudos
Latest Reply
noorbasha534
Valued Contributor II
  • 0 kudos

@Alberto_Umana thanks for the reply. without the current code change, is it possible to extract these metrics from logs?

  • 0 kudos
1 More Replies
FabianGutierrez
by • Contributor
  • 4443 Views
  • 10 replies
  • 1 kudos

My DABS CLI Deploy call not generating a .tfstate file

Hi Community,I'm running into an issue, when executing Databricks CLI Bundle Deploy I dont get the Terraform State file (.tfstate). I know that I should get one but even when defining the state_apth on my YAML (.yml) DABS file I still do not get it.D...

FabianGutierrez_0-1731932526298.png
  • 4443 Views
  • 10 replies
  • 1 kudos
Latest Reply
pablopaezsherid
New Contributor II
  • 1 kudos

I am having exactly the same problem with azure devops

  • 1 kudos
9 More Replies
jlb0001
by • Databricks Partner
  • 6390 Views
  • 4 replies
  • 2 kudos

[AWS] How do you replace the Account Admin?

I need to remove an older admin that previously set up the Databricks Account. However, I get an error (even through I am also an Account Admin).How do I replace a prior account admin? Or at least remove their admin status and/or disable the accoun...

Databricks Permssion Error - Cannot Disable Original Account
  • 6390 Views
  • 4 replies
  • 2 kudos
Latest Reply
SunnySharma
New Contributor II
  • 2 kudos

Was this ever fixed as I have got the exact same issue as our original AWS Account Admin has left the business and I now cannot remove his Account Admin role (but I have disabled access etc)!

  • 2 kudos
3 More Replies
susanne
by • Databricks Partner
  • 4203 Views
  • 4 replies
  • 0 kudos

Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode

Hi all,I am implementing a DLT table with the new Direct Publish feature which is still in Private Preview.Is it a limitation of DLT with Direct Publish that you can not query the event_log of the DLT?When I use this query:SELECT * FROM event_log('pi...

  • 4203 Views
  • 4 replies
  • 0 kudos
Latest Reply
susanne
Databricks Partner
  • 0 kudos

If any one is interested how to access the event_log for DLTs that are writing to different schemas:The approach that was described above was not working anymore - at least for us.But we discovered this post:https://stackoverflow.com/questions/794329...

  • 0 kudos
3 More Replies
omfspartan
by • New Contributor III
  • 13275 Views
  • 4 replies
  • 1 kudos

Resolved! Connect and process Azure analysis services

How do I connect to Azure analysis services from databricks? I need to process the tabular model from databricks. I tried to use adodbapi. while connecting it is failing with error message "windows com error dispatch adodb.connection". please help

  • 13275 Views
  • 4 replies
  • 1 kudos
Latest Reply
omfspartan
New Contributor III
  • 1 kudos

I got another use case now "to run dax against Azure Analysis Services model" from AWS databricks. I tried above suggestion from "Jun Yang" and it is erroring out after 30 seconds with the exception that "Login timeout is expired"

  • 1 kudos
3 More Replies
EDDatabricks
by • Databricks Partner
  • 4252 Views
  • 2 replies
  • 1 kudos

Multiple DLT pipelines same target table

Is it possible to have multiple DLT pipelines write data concurrently and in append mode to the same Delta table? Because of different data sources, with different data volumes and required processing, we would like to have different pipelines stream...

Data Engineering
Delta tables
DLT pipeline
  • 4252 Views
  • 2 replies
  • 1 kudos
Latest Reply
arvind_c
New Contributor II
  • 1 kudos

Hi I wanted to understand how you set "pipelines.tableManagedByMultiplePipelinesCheck.enabled" to true? I'm not able to figure out how and where you set this param

  • 1 kudos
1 More Replies
Labels