Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added parameter hive.default.fileformat.managed

...

Users can explicitly say CREATE TABLE ... STORED AS TEXTFILE|SEQUENCEFILE|RCFILE|ORC|AVRO|INPUTFORMAT...OUTPUTFORMAT... to override. (RCFILE was added in Hive 0.6.0, ORC in 0.11.0, and AVRO in 0.14.0.) See Row Format, Storage Format, and SerDe for details.

hive.default.fileformat.managed
  • Default Value: none
  • Added In: Hive 1.2.0 with HIVE-9915

Default file format for CREATE TABLE statement applied to managed tables only. External tables will be created with format specified by hive.default.fileformat. Leaving this null will result in using hive.default.fileformat for all native tables. For non-native tables the file format is determined by the storage handler, as shown below (see the StorageHandler section for more information on managed/external and native/non-native terminology).

 NativeNon-Native
Managedhive.default.fileformat.managed (or fall back to the other)Not covered by default file-formats
Externalhive.default.fileformatNot covered by default file-formats
hive.fileformat.check
  • Default Value: true
  • Added In: Hive 0.5.0

...

For WebHCat configuration, see Configuration Variables in the WebHCat manual.