HUE-7738 [editor] Adding GetFunctions API

Review Request #15203 — Created June 1, 2020 and submitted

romain
hue
master
HUE-7738
hue
johan, ranade, romain, weixia, yingc
commit c06f39cae91481f35c34064e74b7e70784d574a3
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jun 1 12:13:08 2020 -0700

    HUE-7738 [notebook] Adding new api and hiveserver2 tests

:100644 100644 b0d8c9aa61 a49b324fb1 M	desktop/libs/notebook/src/notebook/api_tests.py
:100644 100644 97ab0f3698 8e1b70dbf1 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2_tests.py

commit c861e1e9a93ed24fec17e67c30e82f411c1eb3e3
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat May 30 14:43:46 2020 -0700

    HUE-7738 [impala] Adding function listing for Impala
    
    Function name and return type and signature:
    
    {"name":"casttobigint","signature":"FLOAT)","return_type":"BIGINT","is_builtin":"BUILTIN","is_persistent":"true"}

:100644 100644 6717de9160 116cf6dde6 M	apps/beeswax/src/beeswax/api.py
:100644 100644 0506c93021 b763bea3f9 M	apps/beeswax/src/beeswax/server/dbms.py

commit 214b0efdc6082494fe421f7cf4fce7316c7de139
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat May 30 14:16:46 2020 -0700

    HUE-7738 [hive] Support GetFunction execution and fetching
    
    Note: seems to work only for Hive

:100644 100644 cf51e4dbfc 4d0463e44d M	apps/beeswax/src/beeswax/models.py
:100644 100644 5c08df0c9d 0506c93021 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 04606e939f 34efaa8331 M	apps/beeswax/src/beeswax/server/hive_server2_lib.py
:100644 100644 3296845a03 ca2bf38446 M	desktop/core/src/desktop/lib/thrift_util.py

commit 8e261a8161f93a1b1baafad511537dbedd399b51
Author: Romain <romain.rigaux@gmail.com>
Date:   Fri May 29 11:52:26 2020 -0700

    HUE-7738 [hive] Adding Thrift call to GetFunctions
    
    Only implemented by Hive, not Impala.

:100644 100644 11102c5b24 6717de9160 M	apps/beeswax/src/beeswax/api.py
:100644 100644 0ebfac1fc3 5c08df0c9d M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 a0978e96df 04606e939f M	apps/beeswax/src/beeswax/server/hive_server2_lib.py

Getting list of function names for hiveserver API.
More to iterate on but good base getting there.

johan
  1. Ship It!
    1. And for now, better to do the Union from the API, not intersection of the function as aggregates etc and more are missing :)

  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...