โ11-15-2022 09:54 PM
I have to query a data for showing in my dashboard.
But it truncated the results and showing only first 1,000 rows.
In the dashboard view, there is no option to re-execute with maximum result limits.
I don't want to switch back to standard view and click to re-execute everytime.
So, I would like to know if I can change default from showing only 1,000 records to return all records from query.
More information
Workspace: Data Science & Engineering
Language: Python (PySpark)
Databricks Runtime: 9.1 LTS (includes Apache Spark 3.1.2, Scala 2.12)
โ11-22-2022 07:47 AM
@Thanapat Sontayasaraโ 1000 is still the default. Default of 10k rows will be made available by Jan.
โ11-19-2022 01:10 AM
โ11-19-2022 02:18 AM
Hi! @Kaniz Fatmaโ.
Yes, definitely the same question as mine.
But, still, I don't find any guideline of how to change the default like mention in that thread.
Do you have any clue about "the changes need to occur at the shard level."?
I have no idea what is the shard level. Or you have any reference document for me to work on.
โ11-16-2022 11:38 AM
@Thanapat Sontayasaraโ 10000 limit is available as an option in the notebook(which propagates to dashboard after its run in notebook) while 1000 rows still is the default. 10000 limit is experimental and it can be made as default depending on the number of use cases from customers which may take some time.
โ11-19-2022 01:13 AM
Hi! @Srihasa Reddy Akepatiโ Sorry for late reply.
Interesting! Can you share with us about how to change or set the 10,000 as default when running command like display(df) and return 10,000.
With screenshot or document guideline shared would be really appreciated!
โ11-21-2022 09:19 PM
@Thanapat Sontayasaraโ Default is still 1000. Let me check internally if there is a way to change the default.
โ11-22-2022 07:47 AM
@Thanapat Sontayasaraโ 1000 is still the default. Default of 10k rows will be made available by Jan.
โ11-22-2022 08:03 AM
Hi @Srihasa Reddy Akepatiโ
That's a useful information and also a good news.
I'm looking forward to that feature release.
Thank you so much for your support. ๐
โ11-19-2022 01:15 AM
Hi! @Kaniz Fatmaโ Sorry for late reply.
I am still don't find any solution to change the default query limit when using display(df).
If I got the solution, I will share with the community ASAP.
Thank you for your support ๐
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