From f188d78b89d522926ea4da3f1ee6c7c0792848a0 Mon Sep 17 00:00:00 2001 From: Fei Wang Date: Fri, 29 Apr 2022 20:53:50 +0800 Subject: [PATCH] comment --- .../src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java b/kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java index c46cc621429..9ddde00557c 100644 --- a/kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java +++ b/kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java @@ -162,7 +162,8 @@ int initArgs(String[] args) { int code = 0; if (cl.getOptionValues('e') != null) { commands = Arrays.asList(cl.getOptionValues('e')); - getOpts().setAllowMultiLineCommand(false); // When using -e, command is always a single line + // When using -e, command is always a single line, see HIVE-19018 + getOpts().setAllowMultiLineCommand(false); } if (!commands.isEmpty() && getOpts().getScriptFile() != null) {