[
https://issues.apache.org/jira/browse/HIVE-30241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-30241:
-------------------------------
Attachment: large_script.hql
> Beeline -f corrupts statements from script files
> ------------------------------------------------
>
> Key: HIVE-30241
> URL: https://issues.apache.org/jira/browse/HIVE-30241
> Project: Hive
> Issue Type: Bug
> Reporter: Zhihua Deng
> Priority: Major
> Attachments: large_script.hql
>
>
> After the JLine upgrade (HIVE-25495 → 3.25.0, then HIVE-29662 → 3.30.16),
> beeline -f <script> can send corrupted SQL to HiveServer2 when the script
> file is large. Statements get garbled, with fragments of the file overwriting
> each other, and some statements never arrive.
> Example of a statement HS2 received (the original was EXPLAIN SELECT name,
> count(*) AS c_5 ... GROUP BY name):
> EXPLAIN SELECT name, counSELECT name FROM beeline_large_script_db.t_5 WHERE
> id >= 5 AND note LIKE '%--%' GROUP BY name
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)