HUE-8818 [assist] Initial Hive Language Manual for the right assist

Review Request #14043 - Created June 25, 2019 and submitted

Johan Åhlén
hue
HUE-8818_jahlen
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit 59700e6e7aceb7eca3b3b813f1c736c47160a70e
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jun 25 14:39:22 2019 +0200

    HUE-8818 [editor] Style tables and notes in the Hive language reference

:100644 100644 17f1399c91 626bf6a3e3 M	desktop/core/src/desktop/static/desktop/css/hue-embedded.css
:100644 100644 833a6f3a3c 3243799f95 M	desktop/core/src/desktop/static/desktop/css/hue.css
:100644 100644 0f2749e962 8cc0c46b48 M	desktop/core/src/desktop/static/desktop/css/hue3-extra.css
:100644 100644 da22797863 7b4a27bc0e M	desktop/core/src/desktop/static/desktop/docs/hive/_103092177.json
:100644 100644 36966cd323 d46ffb28da M	desktop/core/src/desktop/static/desktop/docs/hive/_27362030.json
:100644 100644 c988a813f8 56d97ffd95 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362032.json
:100644 100644 7076a9afd6 bffdd05c5f M	desktop/core/src/desktop/static/desktop/docs/hive/_27362033.json
:100644 100644 698a8d2f95 2a9517aafd M	desktop/core/src/desktop/static/desktop/docs/hive/_27362034.json
:100644 100644 0110fe8a43 b3c08b43fc M	desktop/core/src/desktop/static/desktop/docs/hive/_27362035.json
:100644 100644 6fb2227146 3edbf82cff M	desktop/core/src/desktop/static/desktop/docs/hive/_27362036.json
:100644 100644 b647190553 9df19a35f2 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362037.json
:100644 100644 5645f9f224 ab9534607f M	desktop/core/src/desktop/static/desktop/docs/hive/_27362039.json
:100644 100644 7416c5e664 fd626d4cfb M	desktop/core/src/desktop/static/desktop/docs/hive/_27362040.json
:100644 100644 7a0854ad20 529b0333a3 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362042.json
:100644 100644 7e0bb651a8 b454a43e79 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362043.json
:100644 100644 9c0442e39e d94ee77355 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362044.json
:100644 100644 a9ad7d1d3f 876388b962 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362048.json
:100644 100644 44a58e9416 54ada1482e M	desktop/core/src/desktop/static/desktop/docs/hive/_27362049.json
:100644 100644 d505345387 2c891b8025 M	desktop/core/src/desktop/static/desktop/docs/hive/_27829682.json
:100644 100644 56eded1391 15a4f94b82 M	desktop/core/src/desktop/static/desktop/docs/hive/_27837968.json
:100644 100644 feb2645763 c796d99156 M	desktop/core/src/desktop/static/desktop/docs/hive/_27838462.json
:100644 100644 f0a3bcfaa3 1bdb2b4379 M	desktop/core/src/desktop/static/desktop/docs/hive/_27842758.json
:100644 100644 f5610613da 099ec00fd6 M	desktop/core/src/desktop/static/desktop/docs/hive/_30151323.json
:100644 100644 fdd45fa177 df51f40687 M	desktop/core/src/desktop/static/desktop/docs/hive/_30754722.json
:100644 100644 6fd408e807 f68f02c482 M	desktop/core/src/desktop/static/desktop/docs/hive/_30755801.json
:100644 100644 65c2d7d01d 6844971433 M	desktop/core/src/desktop/static/desktop/docs/hive/_31818911.json
:100644 100644 2c49462182 3da2e02f82 M	desktop/core/src/desktop/static/desktop/docs/hive/_31819589.json
:100644 100644 47d3f666e3 c571ebcba4 M	desktop/core/src/desktop/static/desktop/docs/hive/_31822176.json
:100644 100644 e5f0d5114e b620665408 M	desktop/core/src/desktop/static/desktop/docs/hive/_33293167.json
:100644 100644 4b4d2949c0 61a5de9c8a M	desktop/core/src/desktop/static/desktop/docs/hive/_33298193.json
:100644 100644 08dbbda5b2 6dc8711830 M	desktop/core/src/desktop/static/desktop/docs/hive/_34838882.json
:100644 100644 a4fcc05629 948e3f5073 M	desktop/core/src/desktop/static/desktop/docs/hive/_38570914.json
:100644 100644 6e4005411f ee410b139f M	desktop/core/src/desktop/static/desktop/docs/hive/_38572242.json
:100644 100644 3334da9f0c bf40d862d6 M	desktop/core/src/desktop/static/desktop/docs/hive/_40509928.json
:100644 100644 acf18623f2 4a58610c0a M	desktop/core/src/desktop/static/desktop/docs/hive/_45876173.json
:100644 100644 23f0715852 25f01d057c M	desktop/core/src/desktop/static/desktop/docs/hive/_45876440.json
:100644 100644 7970cc7fe0 d7ccc821f2 M	desktop/core/src/desktop/static/desktop/docs/hive/_47384180.json
:100644 100644 904100beb9 08eba03bd9 M	desktop/core/src/desktop/static/desktop/docs/hive/_58851803.json
:100644 100644 ae6ff63c9a c2b2eca8f5 M	desktop/core/src/desktop/static/desktop/docs/hive/_59690156.json
:100644 100644 4684d7ff74 64e2f87023 M	desktop/core/src/desktop/static/desktop/docs/hive/_95654003.json
:100644 100644 a8f44532e2 7c1b9bc699 M	desktop/core/src/desktop/static/desktop/less/hue-assist.less
:100644 100644 e6f8443cb1 4da8d2cc71 M	tools/sql-docs/hiveExtractor.js

commit 0cd8f1586f00097fd8db4ff8837d1b032695ce54
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jun 25 13:30:48 2019 +0200

    HUE-8818 [editor] Improve the headers in the Hive language reference

:100644 100644 3a947930a9 e6f8443cb1 M	tools/sql-docs/hiveExtractor.js

commit f692a8581fb8d032a13cea7dadde38ff48687faa
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jun 25 13:30:26 2019 +0200

    HUE-8818 [editor] Fix all the links in the Hive reference manual

:100644 100644 fd3ad0b880 da22797863 M	desktop/core/src/desktop/static/desktop/docs/hive/_103092177.json
:100644 100644 e7438bfdcd 36966cd323 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362030.json
:100644 100644 41fcedb7ba c988a813f8 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362032.json
:100644 100644 cf37d8511c 7076a9afd6 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362033.json
:100644 100644 6ad3fcb93e 698a8d2f95 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362034.json
:100644 100644 3582b251cf 0110fe8a43 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362035.json
:100644 100644 d17d1472f7 6fb2227146 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362036.json
:100644 100644 65cc7d229d b647190553 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362037.json
:100644 100644 142764e713 5645f9f224 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362039.json
:100644 100644 7cafe50b41 7416c5e664 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362040.json
:100644 100644 bbbfa458d8 7a0854ad20 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362042.json
:100644 100644 9e2209bc1b 7e0bb651a8 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362043.json
:100644 100644 fbb7e37c18 9c0442e39e M	desktop/core/src/desktop/static/desktop/docs/hive/_27362044.json
:100644 100644 40078b32be a9ad7d1d3f M	desktop/core/src/desktop/static/desktop/docs/hive/_27362048.json
:100644 100644 654d4d967a 44a58e9416 M	desktop/core/src/desktop/static/desktop/docs/hive/_27362049.json
:100644 100644 ec4b97aa28 56eded1391 M	desktop/core/src/desktop/static/desktop/docs/hive/_27837968.json
:100644 100644 034945dda9 feb2645763 M	desktop/core/src/desktop/static/desktop/docs/hive/_27838462.json
:100644 100644 4f0913c589 f0a3bcfaa3 M	desktop/core/src/desktop/static/desktop/docs/hive/_27842758.json
:100644 100644 60dd33f341 f5610613da M	desktop/core/src/desktop/static/desktop/docs/hive/_30151323.json
:100644 100644 08c75fd5e8 fdd45fa177 M	desktop/core/src/desktop/static/desktop/docs/hive/_30754722.json
:100644 100644 12f01715dc 6fd408e807 M	desktop/core/src/desktop/static/desktop/docs/hive/_30755801.json
:100644 100644 8a413f4d39 65c2d7d01d M	desktop/core/src/desktop/static/desktop/docs/hive/_31818911.json
:100644 100644 a3fc7ad30a 2c49462182 M	desktop/core/src/desktop/static/desktop/docs/hive/_31819589.json
:100644 100644 63c0f281a5 47d3f666e3 M	desktop/core/src/desktop/static/desktop/docs/hive/_31822176.json
:100644 100644 f8e09eb052 e5f0d5114e M	desktop/core/src/desktop/static/desktop/docs/hive/_33293167.json
:100644 100644 23a8b6abfb 4b4d2949c0 M	desktop/core/src/desktop/static/desktop/docs/hive/_33298193.json
:100644 100644 25ee564e8a 08dbbda5b2 M	desktop/core/src/desktop/static/desktop/docs/hive/_34838882.json
:100644 100644 d52c141618 a4fcc05629 M	desktop/core/src/desktop/static/desktop/docs/hive/_38570914.json
:100644 100644 13b5b706a2 6e4005411f M	desktop/core/src/desktop/static/desktop/docs/hive/_38572242.json
:100644 100644 e8d3acb2de 3334da9f0c M	desktop/core/src/desktop/static/desktop/docs/hive/_40509928.json
:100644 100644 2dfee7fbc1 acf18623f2 M	desktop/core/src/desktop/static/desktop/docs/hive/_45876173.json
:100644 100644 46ea13d024 23f0715852 M	desktop/core/src/desktop/static/desktop/docs/hive/_45876440.json
:100644 100644 f2dea18319 7970cc7fe0 M	desktop/core/src/desktop/static/desktop/docs/hive/_47384180.json
:100644 100644 2beb93b3c3 904100beb9 M	desktop/core/src/desktop/static/desktop/docs/hive/_58851803.json
:100644 100644 1fcd1e9966 ae6ff63c9a M	desktop/core/src/desktop/static/desktop/docs/hive/_59690156.json
:100644 100644 e1c5ff3ed6 4684d7ff74 M	desktop/core/src/desktop/static/desktop/docs/hive/_95654003.json
:100644 100644 9215274756 e4d2c7341c M	desktop/core/src/desktop/templates/assist.mako
:100644 100644 8c372115d2 3a947930a9 M	tools/sql-docs/hiveExtractor.js

commit 1a05da272e595b4b0fc58a7d5b224a63d3e25148
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jun 24 17:05:56 2019 +0200

    HUE-8818 [editor] Flatten the main Hive doc tree

:100644 100644 5716d631bd bcb3407485 M	desktop/core/src/desktop/templates/sql_doc_index.mako
:100644 100644 34a2e430b4 8c372115d2 M	tools/sql-docs/hiveExtractor.js

commit a20f1e8a45dc08d3fb79bdc0d2c58225c7f0f7e6
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jun 24 16:52:00 2019 +0200

    HUE-8818 [frontend] Add js tools folder to eslint and fix linting issues

:100644 100644 555bc7a614 4de8c27c72 M	package.json
:100644 100644 94dab3ba32 27b8dc3d1a M	tools/jison/generateParsers.js
:100644 100644 3262a66cd2 021e933bf6 M	tools/sql-docs/DocFragment.js
:100644 100644 2ca226f056 329b0190fc M	tools/sql-docs/Topic.js
:100644 100644 655abafb89 98b610c531 M	tools/sql-docs/ditamapParser.js
:100644 100644 4a0f189285 eaf9743af5 M	tools/sql-docs/docExtractor.js
:100644 100644 08c22021d9 09c9a9d6b1 M	tools/sql-docs/docXmlParser.js
:100644 100644 37cb045216 48a8ff9f79 M	tools/sql-docs/extractorUtils.js
:100644 100644 5bc9af83be 34a2e430b4 M	tools/sql-docs/hiveExtractor.js
:100644 100644 d5f64e606d 686631f6ac M	tools/sql-docs/jsonHandler.js
:100644 100644 66e10164af c00cdde886 M	tools/sql-docs/topicLinker.js

commit 8b1e5d304f4b4cddac6c12e4a12922e33f609b31
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jun 24 16:34:56 2019 +0200

    HUE-8818 [assist] Initial Hive Language Manual for the right assist
    
    Generate by running:
    
    node tools/sql-docs/hiveExtractor.js --epub ~/Downloads/LanguageManual.epub

:000000 100644 0000000000 fd3ad0b880 A	desktop/core/src/desktop/static/desktop/docs/hive/_103092177.json
:000000 100644 0000000000 e7438bfdcd A	desktop/core/src/desktop/static/desktop/docs/hive/_27362030.json
:000000 100644 0000000000 41fcedb7ba A	desktop/core/src/desktop/static/desktop/docs/hive/_27362032.json
:000000 100644 0000000000 cf37d8511c A	desktop/core/src/desktop/static/desktop/docs/hive/_27362033.json
:000000 100644 0000000000 6ad3fcb93e A	desktop/core/src/desktop/static/desktop/docs/hive/_27362034.json
:000000 100644 0000000000 3582b251cf A	desktop/core/src/desktop/static/desktop/docs/hive/_27362035.json
:000000 100644 0000000000 d17d1472f7 A	desktop/core/src/desktop/static/desktop/docs/hive/_27362036.json
:000000 100644 0000000000 65cc7d229d A	desktop/core/src/desktop/static/desktop/docs/hive/_27362037.json
:000000 100644 0000000000 142764e713 A	desktop/core/src/desktop/static/desktop/docs/hive/_27362039.json
:000000 100644 0000000000 7cafe50b41 A	desktop/core/src/desktop/static/desktop/docs/hive/_27362040.json
:000000 100644 0000000000 bbbfa458d8 A	desktop/core/src/desktop/static/desktop/docs/hive/_27362042.json
:000000 100644 0000000000 9e2209bc1b A	desktop/core/src/desktop/static/desktop/docs/hive/_27362043.json
:000000 100644 0000000000 fbb7e37c18 A	desktop/core/src/desktop/static/desktop/docs/hive/_27362044.json
:000000 100644 0000000000 40078b32be A	desktop/core/src/desktop/static/desktop/docs/hive/_27362048.json
:000000 100644 0000000000 654d4d967a A	desktop/core/src/desktop/static/desktop/docs/hive/_27362049.json
:000000 100644 0000000000 d505345387 A	desktop/core/src/desktop/static/desktop/docs/hive/_27829682.json
:000000 100644 0000000000 ec4b97aa28 A	desktop/core/src/desktop/static/desktop/docs/hive/_27837968.json
:000000 100644 0000000000 034945dda9 A	desktop/core/src/desktop/static/desktop/docs/hive/_27838462.json
:000000 100644 0000000000 4f0913c589 A	desktop/core/src/desktop/static/desktop/docs/hive/_27842758.json
:000000 100644 0000000000 60dd33f341 A	desktop/core/src/desktop/static/desktop/docs/hive/_30151323.json
:000000 100644 0000000000 08c75fd5e8 A	desktop/core/src/desktop/static/desktop/docs/hive/_30754722.json
:000000 100644 0000000000 12f01715dc A	desktop/core/src/desktop/static/desktop/docs/hive/_30755801.json
:000000 100644 0000000000 8a413f4d39 A	desktop/core/src/desktop/static/desktop/docs/hive/_31818911.json
:000000 100644 0000000000 a3fc7ad30a A	desktop/core/src/desktop/static/desktop/docs/hive/_31819589.json
:000000 100644 0000000000 63c0f281a5 A	desktop/core/src/desktop/static/desktop/docs/hive/_31822176.json
:000000 100644 0000000000 f8e09eb052 A	desktop/core/src/desktop/static/desktop/docs/hive/_33293167.json
:000000 100644 0000000000 23a8b6abfb A	desktop/core/src/desktop/static/desktop/docs/hive/_33298193.json
:000000 100644 0000000000 25ee564e8a A	desktop/core/src/desktop/static/desktop/docs/hive/_34838882.json
:000000 100644 0000000000 d52c141618 A	desktop/core/src/desktop/static/desktop/docs/hive/_38570914.json
:000000 100644 0000000000 13b5b706a2 A	desktop/core/src/desktop/static/desktop/docs/hive/_38572242.json
:000000 100644 0000000000 e8d3acb2de A	desktop/core/src/desktop/static/desktop/docs/hive/_40509928.json
:000000 100644 0000000000 2dfee7fbc1 A	desktop/core/src/desktop/static/desktop/docs/hive/_45876173.json
:000000 100644 0000000000 46ea13d024 A	desktop/core/src/desktop/static/desktop/docs/hive/_45876440.json
:000000 100644 0000000000 f2dea18319 A	desktop/core/src/desktop/static/desktop/docs/hive/_47384180.json
:000000 100644 0000000000 2beb93b3c3 A	desktop/core/src/desktop/static/desktop/docs/hive/_58851803.json
:000000 100644 0000000000 1fcd1e9966 A	desktop/core/src/desktop/static/desktop/docs/hive/_59690156.json
:000000 100644 0000000000 e1c5ff3ed6 A	desktop/core/src/desktop/static/desktop/docs/hive/_95654003.json
:100644 100644 1cd9014fdf 9215274756 M	desktop/core/src/desktop/templates/assist.mako
:100644 100644 04b497d739 c20e61f59f M	desktop/core/src/desktop/templates/global_js_constants.mako
:100644 100644 1f3fe2342e 5716d631bd R088	desktop/core/src/desktop/templates/impala_doc_index.mako	desktop/core/src/desktop/templates/sql_doc_index.mako
:100644 100644 24871e7def 8b1d552f59 M	package-lock.json
:100644 100644 65c80fe7dc 555bc7a614 M	package.json
:000000 100644 0000000000 5bc9af83be A	tools/sql-docs/hiveExtractor.js
:100644 100644 7bc2292be8 d5f64e606d M	tools/sql-docs/jsonHandler.js
:000000 100644 0000000000 925dad1601 A	tools/sql-docs/package-lock.json
:000000 100644 0000000000 530c73ce8a A	tools/sql-docs/package.json

Manual on Chrome

Generated json files excluted in diff

  • 0
  • 0
  • 1
  • 2
  • 3
Description From Last Updated
  1. Nice clean-up!

  2. Nice if we can get it generic like the parser at some point later!

    1. Indeed! Need to modularize the assist.mako first...

  3. Can't be picked up from above?

        self.availableTypes = ['impala', 'hive'];
    
        self.sourceType = ko.observable('hive');
    
    1. Currently no clean way as it's all inline js and diffrent JS objects in .mako, need to extract proper classes and constants first.

      Added a TODO.

  4. tools/sql-docs/docExtractor.js (Diff revision 1)
     
     

    Add to https://github.com/cloudera/hue/blob/master/docs/docs-site/content/developer/development/_index.md ?

  5. 
      
Review request changed

Status: Closed (submitted)

Loading...