HUE-7738 [editor] Add result from the autocomplete functions API to the udf repository

Review Request #15206 — Created June 3, 2020 and submitted

johan
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit fbc46c2675fb68536ad9a983a7a755fd3c298815
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Wed Jun 3 13:13:49 2020 +0200

    HUE-7738 [editor] Add result from the autocomplete functions API to the udf repository
    
    The additional functions will now show up in the "General" category in the assist UDF panel as well as the autocomplete results.

:100644 100644 64f1e463ed 2a87f35329 M	desktop/core/src/desktop/js/api/apiHelper.js
:100644 100644 56754fe9bd 79f5f62b09 M	desktop/core/src/desktop/js/api/apiUtils.js
:100644 100644 80d2eadfde 404187646e M	desktop/core/src/desktop/js/ko/components/assist/ko.assistFunctionsPanel.test.js
:100644 100644 5514e1dece 32c43cfee3 M	desktop/core/src/desktop/js/sql/autocompleteResults.test.js
:100644 100644 0ba516df7d 55c5fed3bd M	desktop/core/src/desktop/js/sql/reference/sqlReferenceRepository.js
:100644 100644 b0e31863e1 e02aae4760 M	desktop/core/src/desktop/js/sql/reference/sqlReferenceRepository.test.js

Manual on Chrome

41 additional UDFs added for Hive and 37 for Impala. :-)

Todo:

  • Cache in indexed db
  • Add and use db parameter
  • Use more than just the udf name from the API
  • Tests once cache is in place
romain
  1. Smart Assist FTW, Onwards!

  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...