HUE-9549 [SQLAlchemy] API - Support explain

Review Request #15532 — Created Nov. 3, 2020 and updated

ayush.goyal
hue
master
HUE-9549
hue
Amlesh1902, johan, ranade, romain, Sreenath, yingc
commit 9ca94ac9d65169383ebb7dc7fad974858a904f76
Author: ayush.goyal <ayush.goyal@cloudera.com>
Date:   Tue Nov 3 19:19:51 2020 +0530

    HUE-9549 [SQLAlchemy] API - Support explain

:100644 100644 59a680e976 7308f5c55a M	desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py


  • 2
  • 0
  • 0
  • 0
  • 2
Description From Last Updated
Any chance to make the result processing a one liner/simpler, e.g. similar to in fetch_result() or https://github.com/cloudera/hue/blob/master/apps/beeswax/src/beeswax/server/hive_server2_lib.py#L1397 ? romain romain
And move the execute() + result processing here romain romain
romain
  1. And how about adding a little new test?

    https://github.com/cloudera/hue/blob/master/desktop/libs/notebook/src/notebook/connectors/sql_alchemy_tests.py#L222

  2. desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     

    Any chance to make the result processing a one liner/simpler, e.g. similar to
    in fetch_result()
    or
    https://github.com/cloudera/hue/blob/master/apps/beeswax/src/beeswax/server/hive_server2_lib.py#L1397

    ?

    1. tried but not know how to do it in one line

  3. And move the execute() + result processing here

  4. 
      
ayush.goyal
Review request changed
Loading...