question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sqllab results columns are not sortable for large number of columns

See original GitHub issue

For a sqllab query that returns a large number of columns (I observed this in a query with ~70 columns), the sorting functionality is broken. Columns do not sort at all.

I’m not sure how easy this is to fix. Do we want to consider this a limitation of sqllab or is this fixable?

Expected results

Columns have the ability to sort

Actual results

When you click on the column header it does not sort and does not show the sorting arrow

How to reproduce the bug

  1. Go to sqllab and run a query with 70 columns
  2. Try to sort the results

Environment

(please complete the following information):

  • superset version: master

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
averma111commented, Aug 17, 2021

@junlincc and @yousoph I am looking at superset-frontend—>src–>components–>SqlLab–>QueryTable–>Index.jsx file, for object modalTitle={t(‘Data preview’)} to check if the sorting arrow is poping up for table less then 50 columns.

0reactions
stale[bot]commented, Apr 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL multiple column ordering - Stack Overflow
Multiple column ordering depends on both column's corresponding values: Here ... You can also sort or order by the Number of Characters in...
Read more >
Frequently Asked Questions - Apache Superset
Using a column-store, non-OLTP databases like Vertica, Redshift or Presto as a database backend simply won't work as these databases are not designed...
Read more >
Choosing Sort Order: Best Practices - Vertica
The fastest way to access the data is to work through the low-cardinality columns with the smallest number of distinct values before the...
Read more >
Announcement: /home/Support/LabKey Support Forum
Excel Old Binary Workbook (.xls) Maximum 65,536 rows and 256 columns. ... But it's no big deal - ill just make a note...
Read more >
How to Sort in Excel Rows or Columns Avoid Sort Problems
2) Check Your Data. Before you sort data in Excel, be sure there are no blank rows or columns within the data range...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found