Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.1.0
-
None
-
None
Description
The behaviour of Beeline differs when executing queries with -e and -f, as shown below:
$ cat test.hql select * from test_file; $ cat test.txt abc 123 xyz 000 $ beeline > create table test_file (a string, b int) row format delimited fields terminated by ' '; $ beeline -u "<connstr>" --silent=true --showheader=false -e "select * from test_file;" > e.log $ beeline -u "<connstr>" --silent=true --showheader=false -f test.hql > f.log $ cat e.log +--------------+--------------+--+ | abc | 123 | | xyz | 0 | +--------------+--------------+--+ $ cat f.log <--- blank line +--------------+--------------+--+ | abc | 123 | | xyz | 0 | +--------------+--------------+--+ <--- blank line $
Attachments
Issue Links
- duplicates
-
HIVE-17184 Unexpected new line in beeline output when running with -f option
- Closed