public static Context.Operation getWriteOperation(UnaryOperator<String> ops, String tableName) {
        String operation = ops.apply(WRITE_OPERATION_CONFIG_PREFIX + tableName);
        return operation == null ? null : Context.Operation.valueOf(operation);
    }
@param table the HMS table
@return a map of table properties combined with the serde properties, if any
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/HiveCustomStorageHandlerUtils.java