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:ย 

Unable to log metrics to table/driver using spark StreamingQueryListener

harry546
New Contributor III

Hi Everyone,

Hope everyone is enjoying their holiday time.

I have spark streaming job (copy activity from location A to location B) and a Query Listener and attached to the streaming job.

As mentioned over the attachments I can see numInputRows gets logged to driver logs. But I can't write the finaldf to delta table and even can't log the dataframe to driver logs when I do "show".

I remember the same piece code used to work on earlier versions may be at spark 3.* which was an year back.

Please let me know if I am doing something wrong or suggest me if changes required.

Thanks

Harish Koduru

0 REPLIES 0

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