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

Fix bug in line-width control in DAG pretty printer #1318

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Jul 10, 2024

This PR fixes a bug with how the maximum width for pretty printing was not correctly computed. Note that SqlStringExpression(node_id=str_0 sql_expr='foo') is longer than expected - this is due to a __repr__ issue that will be addressed in a follow up.

@plypaul plypaul force-pushed the p--query-resolution-perf--01 branch from 51264a3 to d40e263 Compare July 10, 2024 20:33
@plypaul plypaul changed the title Fix Bug with Line-Width Control in DAG Pretty Printer Fix bug with line-width control in DAG pretty printer Jul 10, 2024
@plypaul plypaul changed the title Fix bug with line-width control in DAG pretty printer Fix bug in line-width control in DAG pretty printer Jul 10, 2024
@plypaul plypaul marked this pull request as ready for review July 10, 2024 20:59
@plypaul plypaul merged commit 2a5985d into main Jul 11, 2024
17 checks passed
@plypaul plypaul deleted the p--query-resolution-perf--01 branch July 11, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants