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

Do not crop columns with type Base.UUID #3347

Merged
merged 1 commit into from
Jun 25, 2023
Merged

Conversation

ronisbr
Copy link
Member

@ronisbr ronisbr commented Jun 24, 2023

Closes #3346

@ronisbr
Copy link
Member Author

ronisbr commented Jun 24, 2023

It is failing on Windows, but it does not seem related to this PR.

@bkamins bkamins added this to the 1.6 milestone Jun 25, 2023
maximum_columns_width = Int[truncate == 0 ? 0 : max(truncate + 1, l, textwidth(t))
for (l, t) in zip(names_len, types_str)]

# Apply configurations according to the column's type.
for i = 1:num_cols
type_i = nonmissingtype(types[i])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the first condition will be triggered if types[i] is Missing, but probably this is not problematic right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! However, it will not matter because all the lines will have the same size and there will be no dot. So, it will not change anything.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - that is why I have merged this, but wanted to leave a note if someone came back to this PR. Thanks!

@bkamins bkamins merged commit a1f75b1 into JuliaData:main Jun 25, 2023
@bkamins
Copy link
Member

bkamins commented Jun 25, 2023

Thank you!

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

Successfully merging this pull request may close these issues.

Don't truncate UUID columns
2 participants