HUE-7738 [editor] Add function listing in autocomplete API

Review Request #15192 — Created May 28, 2020 and submitted

romain
hue
master
HUE-7738
hue
johan, ranade, romain, weixia, yingc
commit 57dfe657a76773ea2755e2808400736eb06658c2
Author: Romain <romain.rigaux@gmail.com>
Date:   Thu May 28 15:37:58 2020 -0700

    HUE-7738 [editor] Add function listing in autocomplete API
    
    This is a first pass before v1. See the documentation for usage.
    
    Note:
    - only Hive can provide detailed function info
    - by default Hive only provides function names
    
    Still need to add:
    
    Both:
    - add other fields when possible, e.g. return type, signature, binary
    type, is persistent
    - show aggregate functions;
    - show analytic functions;
    
    Hive:
    - DESCRIBE FUNCTION EXTENDED trunc
    
    Impala
    - include _impala_builtins per default
    - include the active database
    
    Other SQL
    - TODO: either errors or try to return columns
    - MySql e.g. show function status (or better check with SqlAlchemy)

:100644 100644 60482d1266 11102c5b24 M	apps/beeswax/src/beeswax/api.py
:100644 100644 cf91781989 7d456c3707 M	apps/beeswax/src/beeswax/api_tests.py
:100644 100644 21c847acbd b679c1e020 M	desktop/libs/notebook/src/notebook/api.py
:100644 100644 bb80cb7084 5302507e9c M	desktop/libs/notebook/src/notebook/connectors/altus_adb.py
:100644 100644 5f9249f88f 4e66d7e4a2 M	desktop/libs/notebook/src/notebook/connectors/base.py
:100644 100644 610e7c0071 b1a1f15772 M	desktop/libs/notebook/src/notebook/connectors/flink_sql.py
:100644 100644 b2d8519210 a2e14181f7 M	desktop/libs/notebook/src/notebook/connectors/hbase.py
:100644 100644 ddcedfeb9a 7e5fbb3307 M	desktop/libs/notebook/src/notebook/connectors/hive_metastore.py
:100644 100644 00bcb476c4 024fe3a395 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py
:100644 100644 5244fb5b22 3a42221d94 M	desktop/libs/notebook/src/notebook/connectors/jdbc.py
:100644 100644 a04159636f 96486fe598 M	desktop/libs/notebook/src/notebook/connectors/kafka.py
:100644 100644 06fbf017bb e79c8075cf M	desktop/libs/notebook/src/notebook/connectors/ksql.py
:100644 100644 d112313e41 e02d536229 M	desktop/libs/notebook/src/notebook/connectors/rdbms.py
:100644 100644 f3890b7c5a 138023cdca M	desktop/libs/notebook/src/notebook/connectors/solr.py
:100644 100644 3f6d73cd6b 0e142e556c M	desktop/libs/notebook/src/notebook/connectors/spark_shell.py
:100644 100644 75487d12b3 53bb940145 M	desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py
:100644 100644 18b1ac856a 50942f73fa M	docs/docs-site/content/developer/api/_index.md

new tests

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
Probably should cut this over from snippet to connector as some point. johan johan
johan
  1. Nice one!

  2. docs/docs-site/content/developer/api/_index.md (Diff revision 1)
     
     
     
     

    Probably should cut this over from snippet to connector as some point.

  3. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...