Github user kkhatua commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1084#discussion_r161288148
  
    --- Diff: 
exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/snippets/sql.js
 ---
    @@ -0,0 +1,46 @@
    +/**
    + * Drill SQL Syntax Snippets
    + */
    +
    +ace.define("ace/snippets/sql",["require","exports","module"], 
function(require, exports, module) {
    +"use strict";
    +
    +exports.snippetText = "snippet info\n\
    +   select * from INFORMATION_SCHEMA.${1:<tableName>};\n\
    +snippet sysmem\n\
    +   select * from sys.mem;\n\
    +snippet sysopt\n\
    +   select * from sys.opt;\n\
    +snippet sysbit\n\
    +   select * from sys.bit;\n\
    +snippet sysconn\n\
    +   select * from sys.conn;\n\
    +snippet sysprof\n\
    +   select * from sys.prof;\n\
    +snippet cview\n\
    --- End diff --
    
    Good catch. 
    I was generating the code for the snippets script, so I missed these (they 
went into a recent commit).  I'll fix these. 


---

Reply via email to