HUE-8390 [hive] Add get_primary_keys and get_foreign_keys

Review Request #15319 — Created July 25, 2020 and submitted

romain
hue
master
HUE-8390
hue
Amlesh1902, johan, ranade, romain, Sreenath, yingc
commit 87b8e9fe5e4163b23cd60ebe063e95ced02a3c7a
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 25 08:21:48 2020 -0700

    HUE-8390 [hive] Use database instead of schema for argument names
    
    More consistent with the convention and less confusing.

:100644 100644 3ab56cc33c a600b95be8 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 3138dfb763 6aa592c3bd M	apps/beeswax/src/beeswax/server/hive_server2_lib.py

commit ec700bed1fb25d499e00b8b32576025880a75466
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 25 08:17:07 2020 -0700

    HUE-8390 [hive] Rename getStatus() to get_status()

:100644 100644 60a427ac19 3ab56cc33c M	apps/beeswax/src/beeswax/server/dbms.py

commit 00e202c9efad4854913acb024611dc4a188eec85
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 25 08:16:18 2020 -0700

    HUE-8390 [hive] Implement Get Primary Keys via Thrift GetPrimaryKeys

:100644 100644 52f0ccc723 60a427ac19 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 396573910e 3138dfb763 M	apps/beeswax/src/beeswax/server/hive_server2_lib.py

commit 62c0f49ea698f7b6ea1d51ff6c7c2bc943bc0b48
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 25 08:01:26 2020 -0700

    HUE-8390 [hive] Implement Get Foreign Keys via Thrift TGetCrossReferenceReq

:100644 100644 67a258f95c 52f0ccc723 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 34efaa8331 396573910e M	apps/beeswax/src/beeswax/server/hive_server2_lib.py

No tests yet (would need to be live tests are purely talking to Thrift)
But will add in upper Hue API layer

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
Would also need to test with Impala/Kudu romain romain
romain
  1. 
      
  2. Would also need to test with Impala/Kudu

  3. 
      
johan
  1. Ship It!
  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...