You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Julien Phalip <jp...@gmail.com> on 2022/04/30 00:44:44 UTC
Detecting write mode (append, overwrite) in custom storage handler
Hi,
I'm working on a custom storage handler and am wondering if there's a way
to detect the appropriate write mode for the output table. For example, an
"INSERT" statement is expected to append rows to the table, whereas an
"INSERT OVERWRITE" statement should first clear the table before adding new
rows.
Is there a way to tell which mode to use, either from the JobConf or any
other means?
Thanks,
Julien