Vitor-Avila opened a new pull request, #28393:
URL: https://github.com/apache/superset/pull/28393

   ### SUMMARY
   The `sqlalchemy-databricks` package 
([reference](https://github.com/crflynn/sqlalchemy-databricks)) was deprecated 
in favor of the updated version of `databricks-sql-python` 
([reference](https://github.com/databricks/databricks-sql-python)). This new 
version allows users to connect to Databricks using:
   
   ```
   
databricks://token:dapi***@***.cloud.databricks.com?http_path=/sql/***&catalog=**&schema=**
   ```
   
   As a result, some more recent features are only supported with this driver. 
For example, if you create a table in Databricks with a `CLUSTER BY` 
configuration, it's not possible to create a dataset using 
`databricks+connector://` as it doesn't successfully handle this metadata.
   
   This PR introduces a new engine spec for the updated driver version, 
exposing a dynamic form. I believe long-term would be beneficial to deprecate 
the other engine specs (migrating existing connections to the new one) but for 
now this PR only implements support for the driver to validate with users on 
compatibility.
   
   The dynamic form also includes fields for `catalog` and `schema`, so this 
could also help with catalog support.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   New dynamic form:
   
   
![image](https://github.com/apache/superset/assets/96086495/9d850922-8012-440a-883e-d29ceae8d0dd)
   
   ### TESTING INSTRUCTIONS
   1. Connect to Databricks using the **Databricks Python Connector** option in 
the database dropdown.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to