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/bdd927ee Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bdd927ee Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bdd927ee Branch: refs/heads/branch-2.5 Commit: bdd927eec11185c6a435ac7f5c2a50dc4c8ac581 Parents: a3d4a1e Author: Gaurav Nagar <grv...@gmail.com> Authored: Sun Mar 26 22:05:18 2017 +0530 Committer: Nitiraj Singh Rathore <nitiraj.rath...@gmail.com> Committed: Tue Apr 4 13:03:12 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/bdd927ee/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); },