Esempio n. 1
0
  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);
  }
Esempio n. 2
0
 public boolean getBatchRefreshAfterWrite() {
   return Booleans.parseBoolean(
       getProperty(ES_BATCH_WRITE_REFRESH, ES_BATCH_WRITE_REFRESH_DEFAULT));
 }
Esempio n. 3
0
 public boolean getUpsertDoc() {
   return Booleans.parseBoolean(getProperty(ES_UPSERT_DOC, ES_UPSERT_DOC_DEFAULT));
 }
Esempio n. 4
0
 public boolean getIndexReadMissingAsEmpty() {
   return Booleans.parseBoolean(
       getProperty(ES_INDEX_READ_MISSING_AS_EMPTY, ES_INDEX_READ_MISSING_AS_EMPTY_DEFAULT));
 }
Esempio n. 5
0
 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));
 }