Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
relates elastic#359
  • Loading branch information
costin committed Jan 19, 2015
1 parent 61830e4 commit cc0883d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -107,8 +107,8 @@ private void init(TableDesc tableDesc, boolean read) {
private void copyToJobProperties(Map<String, String> jobProperties, Properties properties) {
// #359, HIVE-8307
for (String key : properties.stringPropertyNames()) {
// copy only some properties since apparently job properties can contain junk which messes up the XML serialization
if (key.startsWith("es.") || key.equals(TABLE_LOCATION) || key.equals(COLUMNS) || key.equals(COLUMNS_TYPES)) {
// copy only some properties since apparently job properties can contain junk which messes up the XML serialization
if (key.startsWith("es.") || key.equals(TABLE_LOCATION) || key.equals(COLUMNS) || key.equals(COLUMNS_TYPES)) {
jobProperties.put(key, properties.getProperty(key));
}
}
Expand Down

0 comments on commit cc0883d

Please sign in to comment.