HUE-6159 [autocomplete] Don't mark column alias references as columns belonging to a table

Review Request #11855 — Created Oct. 26, 2017 and submitted

johan
hue
master
hue
enricoberti, jgauthier, ranade, romain, weixia, yingc
commit d64f98412ae30abd0be075b17b15c4a6e2c1043d
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Oct 26 11:38:05 2017 +0200

    HUE-6159 [autocomplete] Don't mark column alias references as columns belonging to a table
    
    i.e. the last 'foo' in "SELECT cast(id AS int) foo FROM tbl ORDER BY foo;" should not be marked as a column from the table 'tbl'

:100644 100644 832c435485... 70eafc301d... M	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecLocations.js
:100644 100644 86bc018852... a8347b7072... M	desktop/core/src/desktop/static/desktop/js/autocomplete/sqlParseSupport.js

Manual on Chrome + Jasmine

enricoberti
  1. Ship It!
  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...