Hi @Rohit Kulkarni ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query here.
As per my understanding, you are trying to fetch only the first row out of the the data
If your code is executing without errors but returning "Query Result No Data", it is likely that the query is not returning any rows of data.
In this case, you can modify your code to select only the first row from the DataFrame using the
limit()
function instead ofdisplay(delta_df)
, usedisplay(delta_df.limit(1))
This will return only the first row of data from the delta_df
DataFrame. If there are no rows of data, it will return an empty DataFrame.
Hope it helps. Kindly accept the answer if it helps. Thanks
@Rohit Kulkarni ,
Just following up to see if the below answer helped. Please do consider clicking
Accept Answer
as accepted answers help community as well. Also, please click onYes
for the survey 'Was the answer helpful'