mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-1982] When using the 'Select * ...' statement doesn't show the response In %sql interpreter
This commit is contained in:
parent
7486ce15af
commit
043b03baaf
2 changed files with 4 additions and 2 deletions
|
|
@ -293,7 +293,9 @@ public class ZeppelinContext {
|
|||
}
|
||||
|
||||
if (rows.length > maxResult) {
|
||||
msg.append("\n<font color=red>Results are limited by " + maxResult + ".</font>");
|
||||
msg.append("<!--TABLE_COMMENT-->");
|
||||
msg.append("\n");
|
||||
msg.append("<font color=red>Results are limited by " + maxResult + ".</font>");
|
||||
}
|
||||
sc.clearJobGroup();
|
||||
return msg.toString();
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export default class TableData {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (textRow === '') {
|
||||
if (textRow === '<!--TABLE_COMMENT-->') {
|
||||
if (rows.length > 0) {
|
||||
commentRow = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue