Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.11.4, 1.12.1, 1.14.0, 1.13.2
-
None
-
None
Description
When multiple HiveQL statements arrive in a FlowFile, PutHive*QL processors create and execute the statements in a loop but do not close them. It may lead to data loss.
Example scenario:
- create a source table with 100 Mio records (single int column with random numbers)
- create 10 target tables with the same structure
- feed PutHive3QL with a single FF containing the following script:
truncate table target0; insert into target0 select * from source; truncate table target1; insert into target1 select * from source; ...
- result: some target tables are empty instead of having the 100 Mio records
Attachments
Issue Links
- links to