static void fixHive13InvalidComments(Settings settings, Properties tbl) { if (Booleans.parseBoolean(settings.getProperty("es.hive.disable.columns.comments.fix"))) { return; } settings.setProperty(HiveConstants.COLUMN_COMMENTS, ""); tbl.remove(HiveConstants.COLUMN_COMMENTS); }
public boolean getBatchRefreshAfterWrite() { return Booleans.parseBoolean( getProperty(ES_BATCH_WRITE_REFRESH, ES_BATCH_WRITE_REFRESH_DEFAULT)); }
public boolean getUpsertDoc() { return Booleans.parseBoolean(getProperty(ES_UPSERT_DOC, ES_UPSERT_DOC_DEFAULT)); }
public boolean getIndexReadMissingAsEmpty() { return Booleans.parseBoolean( getProperty(ES_INDEX_READ_MISSING_AS_EMPTY, ES_INDEX_READ_MISSING_AS_EMPTY_DEFAULT)); }
public boolean getIndexAutoCreate() { return Booleans.parseBoolean(getProperty(ES_INDEX_AUTO_CREATE, ES_INDEX_AUTO_CREATE_DEFAULT)); }
public boolean getNodesDiscovery() { return Booleans.parseBoolean(getProperty(ES_NODES_DISCOVERY, ES_NODES_DISCOVERY_DEFAULT)); }