-
Notifications
You must be signed in to change notification settings - Fork 237
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
Truncate long plan labels and refer to "print-plans" #2821
Truncate long plan labels and refer to "print-plans" #2821
Conversation
Properly treat graphviz compiled with the default 16K label max Closes NVIDIA#2710. Signed-off-by: Gera Shegalov <gera@apache.org>
physicalPlan: String, | ||
maxLength: Int = 16384 | ||
): String = { | ||
val sqlPlanFile = s"file://$outputDir/planDescriptions-$appId" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outputDir isn't necessarily file://, could be in hdfs for instance, I guess maybe you are thinking they download it anyway so when open it should be? But if they do that outputdir could be different
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes forgot about non-OS-mounted locations.
s"""<<table border="0"> | ||
|<tr><td>Application: $appId, Query: $sqlId</td></tr> | ||
|<tr><td>$sqlPlanPlaceHolder</td></tr> | ||
|<tr><td href="$sqlPlanFile"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just say see the output from --print-plans and not do the link.
build |
Properly treat graphviz compiled with the default 16K label max
Closes #2710.
Signed-off-by: Gera Shegalov gera@apache.org