Fix planning failure when inserting into columns of struct types with uppercase field names.
Fix resource leak when using Kerberos authentication with impersonation.
Fix creating external tables so that they are properly recognized by the Hive metastore.
The Hive table property EXTERNAL is now set to TRUE in addition to the setting
the table type. Any previously created tables need to be modified to have this property.