It will fail. Orc writes info in the footers that are required to
properly read the file. If close hasn't been called, then that footer
hasn't been written yet.
Alan.
Grant Overby (groverby) <mailto:grove...@cisco.com>
April 14, 2015 at 20:46
What will Hive do if querying an external table containing orc files
that are still being written to?
If the process writing the orc files exits without calling .close()?
Sorry for taking the cheap way out and asking instead of testing. I
couldn’t find anything on this via google. I won’t be able to test
these scenarios till tomorrow and would like to have some idea of what
to expect this afternoon.