mistudio:logic_editor:database:connections:databricks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mistudio:logic_editor:database:connections:databricks [2026/09/28 12:00] – tputman | mistudio:logic_editor:database:connections:databricks [2026/09/28 12:02] (current) – old revision restored (2026/09/18 18:56) tputman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Connecting MIStudio | + | ===== Connecting MIStudio to Databricks ===== |
| - | This page explains how to connect MIStudio | + | This page explains how to connect MIStudio to a Databricks SQL Warehouse using JDBC. |
| - | The same Databricks JDBC driver can be used by both products, but the driver installation and connection setup differ between MIStudio and TransSECS. | + | The connection can be used in the MIStudio |
| - | + | ||
| - | In MIStudio, the connection can be used in the Logic Editor to read data from Databricks, execute SQL statements, write database data, and send database results to other application components. | + | |
| - | + | ||
| - | In TransSECS, Databricks can also be used as a historical destination for SECS/GEM event and report data. | + | |
| ==== Overview ==== | ==== Overview ==== | ||
| - | A typical Databricks connection requires: | + | A typical |
| * A Databricks workspace | * A Databricks workspace | ||
| Line 20: | Line 16: | ||
| * The Databricks JDBC driver | * The Databricks JDBC driver | ||
| * A Databricks authentication method | * A Databricks authentication method | ||
| + | * A **DatabricksConnectionManager** in MIStudio | ||
| - | The Databricks JDBC driver class is: | + | After the connection is configured, database components such as **DatabaseRawLookup** and **DatabaseRawWrite** can execute SQL against Databricks. |
| - | + | ||
| - | < | + | |
| - | com.databricks.client.jdbc.Driver | + | |
| - | </ | + | |
| - | + | ||
| - | The exact setup depends on whether | + | |
| - | + | ||
| - | | + | |
| - | | + | |
| - | + | ||
| - | <note important> | + | |
| - | MIStudio and TransSECS load JDBC drivers differently. | + | |
| - | + | ||
| - | For MIStudio, the JDBC JAR can be added to the project under **Drivers**. | + | |
| - | + | ||
| - | For TransSECS Builder, the JDBC JAR must be available on the Builder classpath. In the verified TransSECS build 11026 configuration, | + | |
| - | </ | + | |
| ==== Step 1: Get the Databricks Connection Details ==== | ==== Step 1: Get the Databricks Connection Details ==== | ||
| Line 44: | Line 24: | ||
| Sign in to your Databricks workspace. | Sign in to your Databricks workspace. | ||
| - | Open the SQL Warehouse that MIStudio | + | Open the SQL Warehouse that MIStudio should use. |
| In Databricks: | In Databricks: | ||
| Line 55: | Line 35: | ||
| * Locate the **HTTP Path**. | * Locate the **HTTP Path**. | ||
| - | Keep these values available while configuring | + | Keep these values available while configuring |
| Typical connection information includes: | Typical connection information includes: | ||
| - | ^ Setting ^ Example ^ | ||
| | Server Hostname | '' | | Server Hostname | '' | ||
| | Port | '' | | Port | '' | ||
| Line 79: | Line 58: | ||
| com.databricks: | com.databricks: | ||
| </ | </ | ||
| + | |||
| + | Select the desired driver version and download the JAR file. | ||
| The downloaded file follows this naming pattern: | The downloaded file follows this naming pattern: | ||
| Line 92: | Line 73: | ||
| </ | </ | ||
| - | The JDBC driver class is: | + | The JDBC driver class used by MIStudio |
| < | < | ||
| Line 99: | Line 80: | ||
| < | < | ||
| - | Databricks JDBC 3.4.2 was successfully tested with TransSECS build 11026 running Java 11.0.31. | ||
| - | </ | ||
| - | |||
| - | <note important> | ||
| Use the current Databricks JDBC Driver rather than the legacy Simba JDBC Driver when setting up a new connection. | Use the current Databricks JDBC Driver rather than the legacy Simba JDBC Driver when setting up a new connection. | ||
| </ | </ | ||
| - | ==== Step 3A: Add the JDBC Driver to MIStudio ==== | + | ==== Step 3: Add the JDBC Driver to the MIStudio |
| - | For MIStudio projects, the Databricks JDBC driver can be added directly to the project. | + | The Databricks JDBC driver can be added directly to the MIStudio |
| In the MIStudio project tree: | In the MIStudio project tree: | ||
| Line 129: | Line 106: | ||
| Restart MIStudio after adding the JDBC driver so the new driver is loaded before configuring or testing the Databricks connection. | Restart MIStudio after adding the JDBC driver so the new driver is loaded before configuring or testing the Databricks connection. | ||
| </ | </ | ||
| - | |||
| - | ==== Step 3B: Add the JDBC Driver to TransSECS ==== | ||
| - | |||
| - | TransSECS Builder loads additional libraries from its Builder classpath. | ||
| - | |||
| - | For the verified TransSECS build 11026 installation, | ||
| - | |||
| - | < | ||
| - | MIStudioSuite\TransSECS\Builder\resources | ||
| - | </ | ||
| - | |||
| - | For example: | ||
| - | |||
| - | < | ||
| - | C: | ||
| - | </ | ||
| - | |||
| - | If the **resources** directory does not exist, create it. | ||
| - | |||
| - | The TransSECS Builder launch script includes: | ||
| - | |||
| - | < | ||
| - | ./ | ||
| - | </ | ||
| - | |||
| - | on its Java classpath. | ||
| - | |||
| - | <note important> | ||
| - | If the JDBC JAR is added while TransSECS Builder is already running, the current Java process will not automatically load it. | ||
| - | |||
| - | Close TransSECS Builder completely and restart it after placing the JDBC JAR in the resources directory. | ||
| - | </ | ||
| - | |||
| - | A missing restart may result in: | ||
| - | |||
| - | < | ||
| - | java.lang.ClassNotFoundException: | ||
| - | com.databricks.client.jdbc.Driver | ||
| - | </ | ||
| - | |||
| - | or: | ||
| - | |||
| - | < | ||
| - | Cannot Connect to Database. | ||
| - | No Driver Exists for " | ||
| - | </ | ||
| - | |||
| - | After restarting Builder, the driver should load normally. | ||
| - | |||
| - | When a TransSECS deployment is built, verify that the Databricks JDBC JAR is also included in the generated deployment directory. | ||
| - | |||
| - | For example: | ||
| - | |||
| - | < | ||
| - | GEMHostDeployment\databricks-jdbc-3.4.2.jar | ||
| - | </ | ||
| ==== Step 4: Choose an Authentication Method ==== | ==== Step 4: Choose an Authentication Method ==== | ||
| Line 190: | Line 111: | ||
| Databricks supports multiple JDBC authentication methods. | Databricks supports multiple JDBC authentication methods. | ||
| - | For testing and development, a Databricks Personal Access Token (PAT) can be used. | + | For a simple connection test, a Databricks Personal Access Token (PAT) can be used. |
| For PAT authentication: | For PAT authentication: | ||
| Line 200: | Line 121: | ||
| <note important> | <note important> | ||
| - | Do not place your Personal Access Token in wiki pages, screenshots, | + | Do not place your Personal Access Token in wiki pages, screenshots, |
| Treat the token as a password. | Treat the token as a password. | ||
| </ | </ | ||
| - | A Personal Access Token can be useful for testing and development. | + | A Personal Access Token can be useful for testing and development. Production environments may require a different authentication method based on your organization' |
| - | Production environments may require another authentication method based on the organization' | + | ==== Step 5: Add DatabricksConnectionManager |
| - | + | ||
| - | ==== Step 5A: Configure MIStudio | + | |
| Open the MIStudio project and application that will use Databricks. | Open the MIStudio project and application that will use Databricks. | ||
| Line 217: | Line 136: | ||
| **DatabricksConnectionManager** | **DatabricksConnectionManager** | ||
| - | Configure the connection manager using the connection information from the Databricks SQL Warehouse. | + | Configure the connection manager using the connection information from your Databricks SQL Warehouse. |
| Enter the appropriate values for: | Enter the appropriate values for: | ||
| Line 238: | Line 157: | ||
| The Server Hostname should be entered without the protocol. | The Server Hostname should be entered without the protocol. | ||
| - | For example: | + | For example, enter: |
| - | < | + | '' |
| - | YOUR-SERVER-HOSTNAME | + | |
| - | </ | + | |
| Do not enter: | Do not enter: | ||
| - | < | + | '' |
| - | https:// | + | |
| - | </ | + | |
| Copy the HTTP Path from the Databricks SQL Warehouse Connection Details. | Copy the HTTP Path from the Databricks SQL Warehouse Connection Details. | ||
| Line 254: | Line 169: | ||
| The HTTP Path should include the leading slash, for example: | The HTTP Path should include the leading slash, for example: | ||
| - | < | + | '' |
| - | / | + | |
| - | </ | + | |
| - | ==== Step 5B: Configure | + | ==== Step 6: Configure |
| - | In the verified TransSECS build 11026 configuration, a Databricks-specific item was not required in the Devices Add menu. | + | For PAT-based authentication, enter the following connection properties. |
| - | A standard **DatabaseConnection** was used and named: | + | Enter each property on its own line: |
| - | + | ||
| - | < | + | |
| - | DatabricksConnection | + | |
| - | </ | + | |
| - | + | ||
| - | Configure the DatabaseConnection with: | + | |
| - | + | ||
| - | ^ Property ^ Value ^ | + | |
| - | | Name | `DatabricksConnection` | | + | |
| - | | Database User Name | `token` | | + | |
| - | | Database Password | Databricks Personal Access Token | | + | |
| - | | Database Driver Class Name | `com.databricks.client.jdbc.Driver` | | + | |
| - | + | ||
| - | The Database URL can include the Databricks server, warehouse HTTP path, authentication mechanism, catalog, and schema. | + | |
| - | + | ||
| - | Example structure: | + | |
| - | + | ||
| - | < | + | |
| - | jdbc: | + | |
| - | </ | + | |
| - | + | ||
| - | For example, a connection using the catalog '' | + | |
| - | + | ||
| - | < | + | |
| - | ConnCatalog=workspace; | + | |
| - | ConnSchema=default | + | |
| - | </ | + | |
| - | + | ||
| - | <note important> | + | |
| - | Do not copy another user's Server Hostname, HTTP Path, or access token from an example configuration. | + | |
| - | + | ||
| - | Use the connection details from your own Databricks SQL Warehouse. | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Step 6: Configure Connection Properties ==== | + | |
| - | + | ||
| - | For PAT-based authentication, | + | |
| < | < | ||
| Line 307: | Line 183: | ||
| </ | </ | ||
| - | The User Name should contain: | + | The MIStudio |
| < | < | ||
| Line 313: | Line 189: | ||
| </ | </ | ||
| - | The Password should contain the Databricks Personal Access Token. | + | The Password |
| - | + | ||
| - | For TransSECS, catalog and schema can also be included in the JDBC URL: | + | |
| - | + | ||
| - | < | + | |
| - | ConnCatalog=workspace | + | |
| - | ConnSchema=default | + | |
| - | </ | + | |
| - | + | ||
| - | Change these values to match the required Databricks catalog and schema. | + | |
| < | < | ||
| Line 328: | Line 195: | ||
| </ | </ | ||
| - | ==== Step 7A: Run MIStudio in Simulating Mode ==== | + | ==== Step 7: Enable |
| MIStudio must be running the application logic for database components to execute. | MIStudio must be running the application logic for database components to execute. | ||
| - | Before testing | + | Before testing |
| * Confirm that **DatabricksConnectionManager** is configured. | * Confirm that **DatabricksConnectionManager** is configured. | ||
| * Add a **DatabaseRawLookup** component to the Logic Editor. | * Add a **DatabaseRawLookup** component to the Logic Editor. | ||
| - | * Configure DatabaseRawLookup to use the Databricks connection manager. | + | * Configure |
| * Put MIStudio into **Simulating** mode. | * Put MIStudio into **Simulating** mode. | ||
| Line 348: | Line 215: | ||
| <note important> | <note important> | ||
| - | If MIStudio | + | If the database components appear to be configured correctly but nothing happens, confirm that MIStudio is in **Simulating** mode. |
| </ | </ | ||
| - | ==== Step 7B: Run TransSECS in LIVE Mode ==== | + | ==== Step 8: Test the Connection ==== |
| - | + | ||
| - | For TransSECS SECS/GEM testing, the host application must be running in **LIVE** mode. | + | |
| - | + | ||
| - | When TransSECS successfully opens the Databricks JDBC connection, the console may show a message similar to: | + | |
| - | + | ||
| - | < | + | |
| - | Connection: " | + | |
| - | </ | + | |
| - | + | ||
| - | A Java warning related to Apache Arrow reflective access may also appear when using Java 11. | + | |
| - | + | ||
| - | For example: | + | |
| - | + | ||
| - | < | + | |
| - | Illegal reflective access by | + | |
| - | com.databricks.internal.apache.arrow.memory.util.MemoryUtil | + | |
| - | </ | + | |
| - | + | ||
| - | This warning did not prevent the verified Databricks connection from operating successfully. | + | |
| - | + | ||
| - | ==== Step 8: Test the MIStudio | + | |
| Start with a simple query before attempting a larger database operation. | Start with a simple query before attempting a larger database operation. | ||
| Line 394: | Line 240: | ||
| ==== Step 9: Check the Catalog and Schema ==== | ==== Step 9: Check the Catalog and Schema ==== | ||
| - | After confirming the connection, determine which Databricks catalog and schema | + | After confirming the connection, determine which Databricks catalog and schema |
| Use **DatabaseRawLookup** with: | Use **DatabaseRawLookup** with: | ||
| Line 491: | Line 337: | ||
| * Write database data | * Write database data | ||
| * Read database data | * Read database data | ||
| - | |||
| - | ==== TransSECS SECS/GEM Historical Example ==== | ||
| - | |||
| - | A complete TransSECS-to-Databricks historical workflow was verified with: | ||
| - | |||
| - | * TransSECS build **11026** | ||
| - | * Java **11.0.31** | ||
| - | * Databricks JDBC **3.4.2** | ||
| - | * HSMS communication on port **5010** | ||
| - | * SECS Device ID **1** | ||
| - | * Databricks catalog **workspace** | ||
| - | * Databricks schema **default** | ||
| - | * Table **secs_poc** | ||
| - | |||
| - | The test architecture was: | ||
| - | |||
| - | < | ||
| - | GEM Tool | ||
| - | | | ||
| - | | HSMS / SECS-GEM | ||
| - | | Port 5010 | ||
| - | v | ||
| - | TransSECS Host | ||
| - | | | ||
| - | | JDBC | ||
| - | v | ||
| - | Databricks SQL Warehouse | ||
| - | | | ||
| - | v | ||
| - | workspace.default.secs_poc | ||
| - | </ | ||
| - | |||
| - | === Report Configuration === | ||
| - | |||
| - | The test used Report ID: | ||
| - | |||
| - | < | ||
| - | 101 | ||
| - | </ | ||
| - | |||
| - | Report 101 contained: | ||
| - | |||
| - | ^ Variable ^ VID ^ | ||
| - | | LOTID | 1514 | | ||
| - | | PPID | 1516 | | ||
| - | | SetPoint | 2000 | | ||
| - | | WaferCount | 1510 | | ||
| - | |||
| - | The STARTED collection event used: | ||
| - | |||
| - | < | ||
| - | CEID 7501 | ||
| - | </ | ||
| - | |||
| - | and was linked to Report 101. | ||
| - | |||
| - | The host configured the equipment using SECS messages including: | ||
| - | |||
| - | * **S2F33** to create reports | ||
| - | * **S2F35** to link reports to events | ||
| - | * **S2F37** to enable events | ||
| - | |||
| - | === Triggered Historical Configuration === | ||
| - | |||
| - | A **Triggered Historical** device named: | ||
| - | |||
| - | < | ||
| - | Historical | ||
| - | </ | ||
| - | |||
| - | was configured beneath: | ||
| - | |||
| - | < | ||
| - | DatabricksConnection | ||
| - | </ | ||
| - | |||
| - | The verified configuration used: | ||
| - | |||
| - | ^ Property ^ Value ^ | ||
| - | | Name | `Historical` | | ||
| - | | Timestamp Column | `ts` | | ||
| - | | Table Name | `secs_poc` | | ||
| - | | Create Table | `False` | | ||
| - | |||
| - | The Databricks table contained: | ||
| - | |||
| - | < | ||
| - | ts | ||
| - | LOTID | ||
| - | PPID | ||
| - | SetPoint | ||
| - | WaferCount | ||
| - | CEID | ||
| - | EventName | ||
| - | </ | ||
| - | |||
| - | === Sending a STARTED Event === | ||
| - | |||
| - | The verified test values were: | ||
| - | |||
| - | ^ Field ^ Value ^ | ||
| - | | LOTID | `LOT_001` | | ||
| - | | PPID | `Recipe_A` | | ||
| - | | SetPoint | `50` | | ||
| - | | WaferCount | `1` | | ||
| - | | CEID | `7501` | | ||
| - | | Event | `STARTED` | | ||
| - | |||
| - | The equipment sent an **S6F11** event containing: | ||
| - | |||
| - | < | ||
| - | S6F11 W | ||
| - | CEID 7501 | ||
| - | Report 101 | ||
| - | LOTID | ||
| - | PPID Recipe_A | ||
| - | SetPoint | ||
| - | WaferCount | ||
| - | </ | ||
| - | |||
| - | TransSECS acknowledged the event with: | ||
| - | |||
| - | < | ||
| - | S6F12 <B 0x0> | ||
| - | </ | ||
| - | |||
| - | === Verify the Databricks Historical Row === | ||
| - | |||
| - | Run: | ||
| - | |||
| - | <code sql> | ||
| - | SELECT | ||
| - | ts, | ||
| - | LOTID, | ||
| - | PPID, | ||
| - | SetPoint, | ||
| - | WaferCount, | ||
| - | CEID, | ||
| - | EventName | ||
| - | FROM workspace.default.secs_poc | ||
| - | ORDER BY ts DESC | ||
| - | LIMIT 10 | ||
| - | </ | ||
| - | |||
| - | The verified successful row was: | ||
| - | |||
| - | < | ||
| - | LOTID | ||
| - | PPID Recipe_A | ||
| - | SetPoint | ||
| - | WaferCount | ||
| - | CEID 7501 | ||
| - | EventName | ||
| - | </ | ||
| - | |||
| - | This confirms the complete path: | ||
| - | |||
| - | < | ||
| - | GEM Tool | ||
| - | | | ||
| - | | S6F11 | ||
| - | v | ||
| - | TransSECS 11026 | ||
| - | | | ||
| - | | Databricks JDBC 3.4.2 | ||
| - | v | ||
| - | Databricks | ||
| - | | | ||
| - | v | ||
| - | workspace.default.secs_poc | ||
| - | </ | ||
| - | |||
| - | ==== GEM Tool Input Note ==== | ||
| - | |||
| - | When changing values in the StandAloneGEMTool interface, make sure the edited field value is committed before sending the event. | ||
| - | |||
| - | During testing, LOTID appeared visually as: | ||
| - | |||
| - | < | ||
| - | LOT_001 | ||
| - | </ | ||
| - | |||
| - | but the first S6F11 contained: | ||
| - | |||
| - | < | ||
| - | <A ''> | ||
| - | </ | ||
| - | |||
| - | for LOTID. | ||
| - | |||
| - | After committing the field value, the following event correctly contained: | ||
| - | |||
| - | < | ||
| - | <A ' | ||
| - | </ | ||
| - | |||
| - | and Databricks stored the expected LOTID. | ||
| - | |||
| - | If a Databricks row contains an unexpected blank value, inspect the actual S6F11 payload before troubleshooting the Databricks connection. | ||
| ==== Read vs. Write Components ==== | ==== Read vs. Write Components ==== | ||
| Line 710: | Line 357: | ||
| Query History can help confirm that: | Query History can help confirm that: | ||
| - | * MIStudio | + | * MIStudio reached Databricks |
| * The SQL statement was received | * The SQL statement was received | ||
| * The query executed | * The query executed | ||
| * An error occurred on the Databricks side | * An error occurred on the Databricks side | ||
| - | If an operation | + | If a query appears to execute |
| ==== Troubleshooting ==== | ==== Troubleshooting ==== | ||
| - | === JDBC Driver Is Not Found in MIStudio | + | === Nothing Happens When the Query Is Triggered === |
| + | |||
| + | Confirm that MIStudio is in **Simulating** mode. | ||
| + | |||
| + | Also confirm that the database component is configured to use the intended **DatabricksConnectionManager**. | ||
| + | |||
| + | === JDBC Driver Is Not Found === | ||
| Confirm that: | Confirm that: | ||
| Line 732: | Line 385: | ||
| com.databricks.client.jdbc.Driver | com.databricks.client.jdbc.Driver | ||
| </ | </ | ||
| - | |||
| - | === JDBC Driver Is Not Found in TransSECS === | ||
| - | |||
| - | If TransSECS reports: | ||
| - | |||
| - | < | ||
| - | ClassNotFoundException: | ||
| - | com.databricks.client.jdbc.Driver | ||
| - | </ | ||
| - | |||
| - | confirm that: | ||
| - | |||
| - | * The Databricks JDBC JAR exists in the Builder **resources** directory. | ||
| - | * The JAR contains: | ||
| - | < | ||
| - | com/ | ||
| - | </ | ||
| - | * TransSECS Builder was completely closed after the JAR was added. | ||
| - | * Builder was restarted after the JAR was placed in **resources**. | ||
| - | * The Driver Class is: | ||
| - | < | ||
| - | com.databricks.client.jdbc.Driver | ||
| - | </ | ||
| - | |||
| - | Also verify that the generated deployment contains the JDBC JAR. | ||
| - | |||
| - | === Databricks Returns Invalid Access Token === | ||
| - | |||
| - | If Databricks returns: | ||
| - | |||
| - | < | ||
| - | 403 Forbidden | ||
| - | Invalid access token | ||
| - | </ | ||
| - | |||
| - | the JDBC driver has reached Databricks, but authentication failed. | ||
| - | |||
| - | Confirm that: | ||
| - | |||
| - | * The Personal Access Token is current. | ||
| - | * The User Name is: | ||
| - | < | ||
| - | token | ||
| - | </ | ||
| - | * The Password contains the PAT. | ||
| - | * `AuthMech=3` is configured. | ||
| - | * The token has not expired or been revoked. | ||
| === Connection Fails === | === Connection Fails === | ||
| Line 799: | Line 405: | ||
| </ | </ | ||
| - | and that the Password contains the Databricks Personal Access Token. | + | and that the Password |
| - | + | ||
| - | === TransSECS Database Connects but GEM Tool Does Not === | + | |
| - | + | ||
| - | Check the HSMS port. | + | |
| - | + | ||
| - | For the verified example, the GEM Tool listened on: | + | |
| - | + | ||
| - | < | + | |
| - | 5010 | + | |
| - | </ | + | |
| - | + | ||
| - | Before the host connects, the port should show: | + | |
| - | + | ||
| - | < | + | |
| - | Listen | + | |
| - | </ | + | |
| - | + | ||
| - | After the TransSECS host connects, the port should show both: | + | |
| - | + | ||
| - | < | + | |
| - | Listen | + | |
| - | Established | + | |
| - | </ | + | |
| - | + | ||
| - | A successful HSMS startup should include a Select Request and Select Response followed by: | + | |
| - | + | ||
| - | < | + | |
| - | HSMS_SS_VALID_SELECT_RESPONSE -- Successful Select | + | |
| - | </ | + | |
| - | + | ||
| - | or an equivalent successful communication-established message. | + | |
| === SELECT Works but CREATE or INSERT Does Not === | === SELECT Works but CREATE or INSERT Does Not === | ||
| Line 861: | Line 436: | ||
| === Query Does Not Appear in Databricks === | === Query Does Not Appear in Databricks === | ||
| - | For MIStudio, check that: | + | Check that: |
| * MIStudio is in **Simulating** mode. | * MIStudio is in **Simulating** mode. | ||
| Line 867: | Line 442: | ||
| * The SQL Warehouse connection information is correct. | * The SQL Warehouse connection information is correct. | ||
| * The JDBC driver was added to the project and MIStudio was restarted. | * The JDBC driver was added to the project and MIStudio was restarted. | ||
| - | |||
| - | For TransSECS, check that: | ||
| - | |||
| - | * TransSECS is in **LIVE** mode. | ||
| - | * The DatabaseConnection opened successfully. | ||
| - | * The JDBC JAR is loaded. | ||
| - | * The SQL Warehouse connection information is correct. | ||
| - | * The historical component is configured to use the correct DatabaseConnection. | ||
| - | * The expected SECS event was actually received. | ||
| Then check the Databricks SQL Warehouse Query History. | Then check the Databricks SQL Warehouse Query History. | ||
| Line 891: | Line 457: | ||
| * Issue reports | * Issue reports | ||
| * Example configuration files | * Example configuration files | ||
| - | * Console output copied into public or shared locations | ||
| - | |||
| - | If an access token is accidentally exposed, revoke it and generate a replacement. | ||
| Use the authentication method required by your organization for production systems. | Use the authentication method required by your organization for production systems. | ||
| ==== Connection Workflow Summary ==== | ==== Connection Workflow Summary ==== | ||
| - | |||
| - | === MIStudio === | ||
| < | < | ||
| Databricks SQL Warehouse | Databricks SQL Warehouse | ||
| | | | | ||
| + | | Server Hostname | ||
| + | | Port | ||
| + | | HTTP Path | ||
| + | | Authentication | ||
| v | v | ||
| Databricks JDBC Driver | Databricks JDBC Driver | ||
| Line 921: | Line 486: | ||
| | | ||
| </ | </ | ||
| - | |||
| - | === TransSECS === | ||
| - | |||
| - | < | ||
| - | GEM Equipment / GEM Tool | ||
| - | | | ||
| - | | HSMS / SECS-GEM | ||
| - | v | ||
| - | TransSECS Host | ||
| - | | | ||
| - | | Event / Report Data | ||
| - | v | ||
| - | Triggered Historical | ||
| - | | | ||
| - | v | ||
| - | DatabaseConnection | ||
| - | | | ||
| - | | Databricks JDBC | ||
| - | v | ||
| - | Databricks SQL Warehouse | ||
| - | </ | ||
| - | |||
| - | ==== Verified TransSECS Baseline ==== | ||
| - | |||
| - | The following configuration was verified successfully on September 28, 2026: | ||
| - | |||
| - | ^ Component ^ Verified Value ^ | ||
| - | | TransSECS Build | `11026` | | ||
| - | | Java | `11.0.31` | | ||
| - | | Databricks JDBC | `3.4.2` | | ||
| - | | Driver Class | `com.databricks.client.jdbc.Driver` | | ||
| - | | HSMS Port | `5010` | | ||
| - | | SECS Device ID | `1` | | ||
| - | | Event | `STARTED` | | ||
| - | | CEID | `7501` | | ||
| - | | Report | `101` | | ||
| - | | Catalog | `workspace` | | ||
| - | | Schema | `default` | | ||
| - | | Historical Table | `secs_poc` | | ||
| - | |||
| - | The successful test confirmed: | ||
| - | |||
| - | * Java 11 runtime startup | ||
| - | * Databricks JDBC driver loading | ||
| - | * Databricks authentication | ||
| - | * HSMS connection establishment | ||
| - | * SECS/GEM communication | ||
| - | * Report configuration | ||
| - | * Event configuration | ||
| - | * S6F11 STARTED event reception | ||
| - | * S6F12 acknowledgment | ||
| - | * Triggered Historical processing | ||
| - | * Successful Databricks row insertion | ||
| ==== Related Pages ==== | ==== Related Pages ==== | ||
mistudio/logic_editor/database/connections/databricks.txt · Last modified: by tputman
