Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeDisplay for wide schemas #1790

Open
a10y opened this issue Jan 2, 2025 · 1 comment
Open

TreeDisplay for wide schemas #1790

a10y opened this issue Jan 2, 2025 · 1 comment

Comments

@a10y
Copy link
Contributor

a10y commented Jan 2, 2025

Our tree_display output gets very unwieldy when we have really wide schemas (thousands of columns).

There are a few ways we can handle this.

  1. Truncate the schema display at a fixed column limit (e.g. 50)
image
  1. Never show column names in the Display for StructDType

E.g.

image
  1. Make display of individual column names configurable, e.g. by adding a new flag to tree_display(verbose: bool)
@gatesn
Copy link
Contributor

gatesn commented Jan 7, 2025

If the children are named (e.g. _hoodie_commit_time) and nicely formatted on newlines, then I think we should do #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants