[editor] Use is_sql check in simple ace editor to determine if syntax checking is active
@@ -154,7 +154,7 @@ class SimpleAceEditor {
inFocus: ko.observable()
};
- if (connector.dialect === 'hive' || connector.dialect === 'impala') {
+ if (connector.is_sql) {
sqlWorkerHandler.registerWorkers();
const aceLocationHandler = new AceLocationHandler({
editor: editor,
