-
Notifications
You must be signed in to change notification settings - Fork 18
Crest v1.4.1 code changes #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Crest v1.4.1 code changes #51
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR updates the Crest add-on to version 1.4.1 by introducing a threading mechanism for faster query result fetching and automating the start of the Databricks Warehouse during query execution. Additional configuration parameters have been added and documentation updated to reflect these enhancements.
Reviewed Changes
File | Description |
---|---|
app/appserver/static/cancel_button.js | Adds cancel run UI functionality with error handling and success pop-ups. |
app/README.md | Updates release notes, version numbers, and documentation for configuration changes. |
app/appserver/static/js/build/custom/auth_select_hook.js | Enhances field toggling logic based on the dbquery configuration. |
app/README/ta_databricks_settings.conf.spec | Adds an [additional_parameters] section for new configuration parameters. |
app/README/ta_databricks_account.conf.spec | Introduces new keys for configuring Databricks query settings. |
app/README/alert_actions.conf.spec | Revises parameter descriptions for the launch_notebook alert action. |
Copilot reviewed 83 out of 83 changed files in this pull request and generated 3 comments.
|
||
var runDetailsTable = mvc.Components.get("databricks_run_table"); | ||
var jobDetailsTable = mvc.Components.get("databricks_job_table"); | ||
customRenderer = TableView.BaseCellRenderer.extend({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Declare 'customRenderer' using var, let, or const to avoid polluting the global namespace.
customRenderer = TableView.BaseCellRenderer.extend({ | |
var customRenderer = TableView.BaseCellRenderer.extend({ |
Copilot uses AI. Check for mistakes.
var run_ex_status = array[2]; | ||
|
||
if(run_ex_status !== "Running" && run_ex_status !== "Initiated" && run_ex_status !== "Pending"){ | ||
$td.html("<div class='ar_containter'><div class='cancel_button_disabled' value='Cancel'>Cancel Run</div></div>"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Typo in the CSS class name 'ar_containter'; consider correcting it to 'ar_container' for clarity.
$td.html("<div class='ar_containter'><div class='cancel_button_disabled' value='Cancel'>Cancel Run</div></div>"); | |
$td.html("<div class='ar_container'><div class='cancel_button_disabled' value='Cancel'>Cancel Run</div></div>"); |
Copilot uses AI. Check for mistakes.
* Minor bugfix. | ||
|
||
# RELEASE NOTES VERSION 1.4.0 | ||
* Introduced threading mechanism to fetch query results faster. Thread count can be configured from 'Addidtional Parameters' page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in 'Addidtional Parameters'; please change it to 'Additional Parameters'.
* Introduced threading mechanism to fetch query results faster. Thread count can be configured from 'Addidtional Parameters' page. | |
* Introduced threading mechanism to fetch query results faster. Thread count can be configured from 'Additional Parameters' page. |
Copilot uses AI. Check for mistakes.
@dhruvilbhatt-crest can you sign the CLA - it's required to merge the PR |
Hi @alexott I just signed the CLA, but it looks like it's taking some time to reflect. ![]() |
Yes, as I remember it takes some time. Can you also check comments & suggestions from Copilot? |
Crest v1.4.1 code changes