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

Eorror in perform a merge inside a streaming foreachbatch using the command: microBatchDF._jdf.s

86conventional
New Contributor

I'm trying to perform a merge inside a streaming foreachbatch using the command: microBatchDF._jdf.sparkSession().sql(self.merge_query)Streaming

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @86conventionalFor clusters with Databricks Runtime version 10.5 and above, you can access the local Spark session within the foreachBatch method.

If you encounter any further issues, feel free to ask for more assistance! ๐Ÿ˜Š

For additional references, you can check out these resources:

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!