Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/861#discussion_r44898585
--- Diff:
tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java ---
@@ -37,6 +37,7 @@ public String getCommand() {
@Override
public void invoke(String[] cmd) throws Exception {
context.getOutput().println("bye!");
+ context.getOutput().flush();
--- End diff --
```flush()``` flushes content of buffer to destination. And you can write
something again into the stream. ```close()``` flushes content to destination
and closes the stream. After execute the command for terminating TSql, we will
never write anything anymore. Thus, we need to use ```close()``` instead of
```flush()```.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---