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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group