You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by pa...@apache.org on 2017/02/28 16:12:14 UTC
ambari git commit: AMBARI-19673. Hive View 2.0: Code hints for query
editor are not working (Abhishek Kumar via pallavkul)
Repository: ambari
Updated Branches:
refs/heads/trunk be644c57a -> a940b17a5
AMBARI-19673. Hive View 2.0: Code hints for query editor are not working (Abhishek Kumar via pallavkul)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a940b17a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a940b17a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a940b17a
Branch: refs/heads/trunk
Commit: a940b17a57d044b49a3f3b77d4e3b056edf7a28d
Parents: be644c5
Author: pallavkul <pa...@gmail.com>
Authored: Tue Feb 28 21:39:32 2017 +0530
Committer: pallavkul <pa...@gmail.com>
Committed: Tue Feb 28 21:39:32 2017 +0530
----------------------------------------------------------------------
.../hive20/src/main/resources/ui/app/components/query-editor.js | 1 -
contrib/views/hive20/src/main/resources/ui/ember-cli-build.js | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a940b17a/contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js b/contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js
index 3175a35..c033e42 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js
@@ -36,7 +36,6 @@ export default Ember.Component.extend({
this.set('editor', CodeMirror.fromTextArea(document.getElementById('code-mirror'), {
mode: 'text/x-hive',
- hint: CodeMirror.hint.sql,
indentWithTabs: true,
smartIndent: true,
lineNumbers: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/a940b17a/contrib/views/hive20/src/main/resources/ui/ember-cli-build.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/ember-cli-build.js b/contrib/views/hive20/src/main/resources/ui/ember-cli-build.js
index c88799a..01682e7 100644
--- a/contrib/views/hive20/src/main/resources/ui/ember-cli-build.js
+++ b/contrib/views/hive20/src/main/resources/ui/ember-cli-build.js
@@ -52,6 +52,7 @@ module.exports = function(defaults) {
app.import('bower_components/codemirror/lib/codemirror.js');
app.import('bower_components/codemirror/addon/hint/sql-hint.js');
+ app.import('bower_components/codemirror/mode/sql/sql.js');
app.import('bower_components/codemirror/addon/hint/show-hint.js');
app.import('bower_components/d3/d3.js');
app.import('bower_components/webcola/WebCola/cola.min.js');