HUE-8768 [editor] Implement status and progress update logic in notebook 2

Review Request #13824 - Created April 15, 2019 and updated

Johan Åhlén
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit d2a50dabcff026e4695cddd068089514a2ffea04
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Apr 15 16:05:47 2019 +0200

    HUE-8768 [editor] Implement status and progress update logic in notebook 2

:100644 100644 089ea5a5bf 4fa8a72bb8 M	desktop/core/src/desktop/js/apps/notebook2/execution/executableStatement.js
:100644 100644 e954a53483 3820aa409b M	desktop/core/src/desktop/js/apps/notebook2/execution/executor.js
:100644 100644 700306bbb3 c113910cf2 M	desktop/core/src/desktop/js/apps/notebook2/snippet.js

commit c03a108c95acce19d061d2a59b2fe8277ac76cc5
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Apr 15 13:32:32 2019 +0200

    HUE-8768 [editor] Add result size to notebook 2

:100644 100644 c631487406 075fa8d255 M	desktop/core/src/desktop/js/apps/notebook2/execution/executionResult.js
:100644 100644 1e7bddebff eeed1d0b07 M	desktop/core/src/desktop/js/apps/notebook2/result.js

commit bd525995fbda372e7eefae3c8acf1d884b4d2d15
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Apr 15 13:32:07 2019 +0200

    HUE-8768 [editor] Switch to backend execution status for notebook 2

:100644 100644 6d47bc1b77 089ea5a5bf M	desktop/core/src/desktop/js/apps/notebook2/execution/executableStatement.js
:100644 100644 ac22ffc9d1 e954a53483 M	desktop/core/src/desktop/js/apps/notebook2/execution/executor.js
:100644 100644 e0b3736422 1e7bddebff M	desktop/core/src/desktop/js/apps/notebook2/result.js

commit 6ef6bf734ec644db1402faf6843e49e609b6ddec
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Apr 15 13:30:35 2019 +0200

    HUE-8768 [editor] Include sessions when executing in notebook 2

:100644 100644 1046d12aee dbc17dbdb2 M	desktop/core/src/desktop/js/api/apiHelper.js
:100644 100644 d4e582a314 6d47bc1b77 M	desktop/core/src/desktop/js/apps/notebook2/execution/executableStatement.js
:100644 100644 51ea146dab ac22ffc9d1 M	desktop/core/src/desktop/js/apps/notebook2/execution/executor.js
:100644 100644 b01d428bd2 700306bbb3 M	desktop/core/src/desktop/js/apps/notebook2/snippet.js
Manual on Chrome
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Websockets future compatible? :)

    1. Yes. Fairly easy to adjust to websockets. Currently split over 5 api calls, execute, check_status, fetch_result_data, fetch_result_size and close_statement. Would be so much cleaner if we could handle that through a socket.

  2. 
      
  1. 
      
  2. Why is this check necessary?

    1. You're right. In past ko versions it triggered the subscriptions when the val vas equal to what it was set to, just tried and it doesn't do that anymore so will fix.

  3. 
      
Loading...