Преглед на файлове

[metastore] Allow creating a Hive tables with spaces in the data location

Romain Rigaux преди 10 години
родител
ревизия
4f5ca16
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      apps/beeswax/src/beeswax/templates/create_table_manually.mako

+ 2 - 2
apps/beeswax/src/beeswax/templates/create_table_manually.mako

@@ -788,8 +788,8 @@ $(document).ready(function () {
   }
 
   function isValid(str) {
-    // validates against empty string and no spaces
-    return (str != "" && str.indexOf(" ") == -1);
+    // validates against empty string
+    return (str != "");
   }
 
   function showFieldError(field) {