cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Mado
by • Valued Contributor II
  • 9500 Views
  • 2 replies
  • 0 kudos

Read CSV files in Azure Databricks notebook, how to read data when columns in CSV files are in the w

I have a task to revise CSV ingestion in Azure Databricks. The current implementation uses the below settings: source_query = ( spark.readStream.format("cloudFiles") .option("cloudFiles.format", "csv") .schema(defined_schema) .option(...

  • 9500 Views
  • 2 replies
  • 0 kudos
Latest Reply
Mado
Valued Contributor II
  • 0 kudos

 Also, I am looking for a solution that works with both correct files and malformed files using PySpark. 

  • 0 kudos
1 More Replies
nag_kanchan
by • New Contributor III
  • 12290 Views
  • 4 replies
  • 0 kudos

Resolved! DatabaseError: (databricks.sql.exc.ServerOperationError) [UNBOUND_SQL_PARAMETER]

Hi,I am trying to connect my database through LLM and expecting to receive a description of the table and 1st 3 rows from the table.  from langchain.agents import create_sql_agent from langchain.agents.agent_toolkits import SQLDatabaseToolkit from la...

  • 12290 Views
  • 4 replies
  • 0 kudos
Latest Reply
nag_kanchan
New Contributor III
  • 0 kudos

This is not databricks issue but from langchain. A PR has been raised to solve this: One workaround that worked is: https://github.com/langchain-ai/langchain/issues/11068 setting sample_rows_in_table_info to 0 when calling SQLDatabase.from_databricks...

  • 0 kudos
3 More Replies
Sujitha
by • Databricks Employee
  • 12948 Views
  • 2 replies
  • 1 kudos

Creating High Quality RAG Applications with Databricks

Retrieval-Augmented-Generation (RAG) has quickly emerged as a powerful way to incorporate proprietary, real-time data into Large Language Model (LLM) applications. Today we are excited to launch a suite of RAG tools to help Databricks users build hig...

Screenshot 2023-12-06 at 11.41.22 PM.png
  • 12948 Views
  • 2 replies
  • 1 kudos
Latest Reply
antsdispute
New Contributor II
  • 1 kudos

It seems like you're sharing an announcement or promotional content related to Databricks and their launch of a suite of tools for Retrieval-Augmented-Generation (RAG) applications. These tools are aimed at helping Databricks users build high-quality...

  • 1 kudos
1 More Replies
SethParker
by • New Contributor III
  • 9480 Views
  • 2 replies
  • 2 kudos

Power BI Import Model Refresh from Databricks SQL Whse - Query has been timed out due to inactivity

We have an intermittant issue where occasionally a partition in our Power BI Import Dataset times out at 5 hours.  When I look at Query History in Databricks SQL, I see a query that failed with the following error message:  "Query has been timed out ...

  • 9480 Views
  • 2 replies
  • 2 kudos
Latest Reply
SethParker
New Contributor III
  • 2 kudos

The only solution we have been able to come up with was to create a Notebook in Databricks that uses the Power BI API to check the status of a Refresh.  We schedule it a bit after we expect the Refresh to complete.  If it is still running, we kill th...

  • 2 kudos
1 More Replies
Dlt
by • New Contributor III
  • 17781 Views
  • 11 replies
  • 1 kudos

DLT Pipeline issue - Failed to read dataset .Dataset is not defined in the pipeline.

Background. I have created a DLT pipeline in which i am creating a Temorary table.  There are 5 temporary tables as such.  When i executed these in an independent notebook they all worked fine with DLT. Now i have merged this notebook ( keeping same ...

  • 17781 Views
  • 11 replies
  • 1 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 1 kudos

I am sorry but information you are providing is not helping at all. Plase dump your code there.

  • 1 kudos
10 More Replies
dhrubg
by • New Contributor
  • 8635 Views
  • 0 replies
  • 0 kudos

Data bricks for practice at no cost which cloud service or combination i need to use

Hi All Senior ,Context :I want to use databricks for practice to create projects and keep polishing my knowledge. My free credits are already used up . Now can you pls give me tips on how to run databricks in which cloud provider (storage account com...

  • 8635 Views
  • 0 replies
  • 0 kudos
AbhilashMV
by • New Contributor II
  • 2505 Views
  • 0 replies
  • 0 kudos

Not able to download Certificate

Hi All,I took the course: Get Started With Data Engineering  from below course link https://www.databricks.com/learn/training/getting-started-with-data-engineering#data-videoBut, after completing the Quiz, I am not able to download Certificate. The a...

  • 2505 Views
  • 0 replies
  • 0 kudos
Sujitha
by • Databricks Employee
  • 11445 Views
  • 2 replies
  • 0 kudos

Unlock Data Engineering Essentials in Just 90 Minutes - Get Certified for FREE!

There’s an increasing demand for data, analytics and AI talent in every industry. Start building your data engineering expertise with this self-paced course — and earn an industry-recognized Databricks certificate. This course provides four short tu...

2023-09-WB-Get-Started-With-Data-Engineering-comm-post-358x250-2x.png
  • 11445 Views
  • 2 replies
  • 0 kudos
Latest Reply
AbhilashMV
New Contributor II
  • 0 kudos

Same here. I am not able to download any Certificate even after passing the Quiz. But the Course link - https://www.databricks.com/learn/training/getting-started-with-data-engineering#data-videoclearly says: take a short knowledge test and earn a com...

  • 0 kudos
1 More Replies
tomcorbin
by • New Contributor III
  • 3811 Views
  • 1 replies
  • 0 kudos

Resolved! Is it possible to pass a Spark session to other python files?

I am setting up pytest for my repo. I have my functions in separate python files and run pytest from one notebook. For each testing file, I have to create a new Spark session as follows:@pytest.fixture(scope="session")def spark():  spark = (  SparkSe...

  • 3811 Views
  • 1 replies
  • 0 kudos
Latest Reply
tomcorbin
New Contributor III
  • 0 kudos

I was able to do it by placing the Spark session fixture in the conftest.py file in the root directory. 

  • 0 kudos
reuvenk121
by • New Contributor
  • 2800 Views
  • 1 replies
  • 0 kudos

Efficient Detection of Schema Mismatch in CSV Files During Single Pass Reading

Hello, when I read a CSV file with a schema object, if a column in the original CSV contains a value of a different datatype than specified in the schema, the result is a null cell. Is there an efficient way to identify these cases without having to ...

  • 2800 Views
  • 1 replies
  • 0 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 0 kudos

Maybe you can try to read the data and let AutoLoader move missmatch data e.g. to rescueColumnhttps://learn.microsoft.com/en-us/azure/databricks/ingestion/auto-loader/schema#--what-is-the-rescued-data-columnThen you can decide what you do with rescue...

  • 0 kudos
LoiLN
by • Databricks Partner
  • 13049 Views
  • 5 replies
  • 2 kudos

[Unity Catalog]-CosmosDB: Data source v2 are not supported

I've worked on azure databricks connected to azure cosmos. It works when my cluster is not enabling Unity Catalog (UC).But when I enable UC, it return error like below:AnalysisException: [UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s...

  • 13049 Views
  • 5 replies
  • 2 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 2 kudos

 

  • 2 kudos
4 More Replies
dhirajkm
by • New Contributor
  • 2181 Views
  • 1 replies
  • 0 kudos

Cluster

I’m not able to have any workspace view or cluster

  • 2181 Views
  • 1 replies
  • 0 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 0 kudos

Hey , could you be more precise with your question ?

  • 0 kudos
chari
by • Contributor
  • 5023 Views
  • 2 replies
  • 1 kudos

dbutils.fs.ls versus pathlib.Path

Hello community members,The dbutils.fs.ls('/') exposes the distributed file system(DBFS) on the databricks cluster. Similary, the python library pathlib can also expose 4 files in the cluster like below:from pathlib import Pathmypath = Path('/')for i...

  • 5023 Views
  • 2 replies
  • 1 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 1 kudos

I think it will be usefull if you look at this documentation to understand difrent files and how you can interact with them:https://learn.microsoft.com/en-us/azure/databricks/files/there is not much to say then that dbutils is "databricks code" that ...

  • 1 kudos
1 More Replies
pshuk
by • New Contributor III
  • 5649 Views
  • 1 replies
  • 0 kudos

How to ingest files from volume using autoloader

I am doing a test run.  I am uploading files to a volume and then using autoloader to ingesgt files and creating a table. I am getting this error message:-----------------------------------------------------------com.databricks.sql.cloudfiles.errors....

  • 5649 Views
  • 1 replies
  • 0 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 0 kudos

Hey, i think you are mixing DLT syntaxt with pyspark syntax:In DLT you should use:CREATE OR REFRESH STREAMING TABLE <table-name> AS SELECT * FROM STREAM read_files( '<path-to-source-data>', format => '<file-format>' )or in Python@dlt....

  • 0 kudos
Labels