HUE-4031 [editor] Enable suppression of syntax errors based on rule

Review Request #11100 - Created July 14, 2017 and submitted

Information
Johan Åhlén
hue
master
Reviewers
hue
enricoberti, jennykim, krish, ranade, romain, weixia
commit b4feb1881916d8ce66ce1bb10fb97fa0424227a8
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jul 14 14:39:35 2017 +0200

    HUE-4031 [editor] Enable suppression of syntax errors based on rule
    
    This enables the user to mark certain errors as ignored based on where in the statement the syntax error is found.

:100644 100644 ca093fe267... 62df3fee8f... M	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSyntaxParserSpec.js
:100644 100644 e6c572fc68... 32b9df0c7e... M	desktop/core/src/desktop/static/desktop/js/autocomplete/sqlSyntaxParser.js
:100644 100644 def76ecee6... a4720ca9ca... M	desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js
:100644 100644 e88b330d84... d3a9f63354... M	desktop/core/src/desktop/templates/common_header_footer_components.mako
:100644 100644 3632db960d... 78edcd656d... M	desktop/core/src/desktop/templates/ko_components.mako
:100644 100644 f176a4b9de... b095ca3fc4... M	desktop/core/src/desktop/templates/sql_syntax_dropdown.mako
:100755 100755 f6c862c4cd... c77189af44... M	tools/jison/hue-jison.sh

Manual on Chrome

https://dl.dropbox.com/s/8sz5kx87sh6p7id/HUE-4031.Error.Suppression.mp4?dl=0

On snippet level for now, later we'll do on the statement level. It currently just takes the rule position into account and not the actual text, need to think a bit what the best way is.

Romain Rigaux
Johan Åhlén
Review request changed

Status: Closed (submitted)

Loading...