AMBARI-20574. Hive View 2.0 On SLES12-Table created on Upload throws error. 
(gauravn7)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/deff9f41
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/deff9f41
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/deff9f41

Branch: refs/heads/branch-3.0-perf
Commit: deff9f41906488e74fae9ba4d952ef38da53dbe9
Parents: 87e6c2c
Author: Gaurav Nagar <grv...@gmail.com>
Authored: Sun Mar 26 22:05:18 2017 +0530
Committer: Gaurav Nagar <grv...@gmail.com>
Committed: Sun Mar 26 22:05:18 2017 +0530

----------------------------------------------------------------------
 .../ui/app/routes/databases/database/tables/upload-table.js        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/deff9f41/contrib/views/hive20/src/main/resources/ui/app/routes/databases/database/tables/upload-table.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/hive20/src/main/resources/ui/app/routes/databases/database/tables/upload-table.js
 
b/contrib/views/hive20/src/main/resources/ui/app/routes/databases/database/tables/upload-table.js
index bfd603b..5fee140 100644
--- 
a/contrib/views/hive20/src/main/resources/ui/app/routes/databases/database/tables/upload-table.js
+++ 
b/contrib/views/hive20/src/main/resources/ui/app/routes/databases/database/tables/upload-table.js
@@ -295,7 +295,7 @@ export default NewTable.extend(UILoggerMixin, {
       tableMeta.settings.rowFormat = {};
     }
     tableMeta.settings.rowFormat.fieldTerminatedBy = 
this.getCharOptionByCharCode(1);
-    tableMeta.settings.rowFormat.escapeDefinedAs = 
this.getCharOptionByCharCode(0);
+    tableMeta.settings.rowFormat.escapeDefinedAs = 
this.getCharOptionByCharCode(2);
     return this.createTable(tableMeta);
   },
 

Reply via email to