protected boolean hasJoinOperationOrderBug() {
    return isDERBY() || isORACLE() || isPOSTGRES();
  }
Whether the RDBMS has a bug in join and filter operation order described in DERBY-6358.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java