Skip to content

Commit 47a19c6

Browse files
fix
1 parent 5c23b84 commit 47a19c6

File tree

1 file changed

+17
-20
lines changed
  • spiceaidocs/content/en/flight-sql/DBeaver

1 file changed

+17
-20
lines changed

spiceaidocs/content/en/flight-sql/DBeaver/_index.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,32 @@ weight: 60
88

99
1. Start the Spice.ai runtime with a dataset loaded. Follow the [quickstart guide]({{<ref "getting-started">}}) to get started.
1010

11-
2. Download [DBeaver Community Edition](https://dbeaver.io) if you haven't already.
11+
2. Download [DBeaver Community Edition](https://dbeaver.io).
1212

13-
3. Download the [Apache Arrow Flight SQL JDBC driver](https://search.maven.org/search?q=a:flight-sql-jdbc-driver) - choose the "jar" option.
13+
3. Download the [Apache Arrow Flight SQL JDBC driver](https://search.maven.org/search?q=a:flight-sql-jdbc-driver) - choose the "jar" option.
1414

1515
4. Launch DBeaver
1616

1717
5. In the DBeaver application menu bar, open the "Database" menu and choose: "Driver Manager":
18-
![Driver manager menu option](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/691d1f83-c1d0-4ad8-ec8d-d8f37ccc9d00/public "Driver manager menu option")
18+
![Driver manager menu option](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/691d1f83-c1d0-4ad8-ec8d-d8f37ccc9d00/public "Driver manager menu option")
1919

20-
6. Click the "New" button on the right:
21-
![Driver manager new button](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/5783d944-daae-4735-99e9-976f974bc100/public "Driver manager new button")
20+
6. Click the "New" button on the right:
21+
![Driver manager new button](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/5783d944-daae-4735-99e9-976f974bc100/public "Driver manager new button")
2222

23-
24-
7. Add the JDBC jar file:
25-
1. Click the "Libraries" tab
26-
1. Click the: "Add File" button
27-
1. Choose the "flight-sql-jdbc-driver-11.0.0.jar" jar file (the file downloaded in step 3 above) - and click "Open"
28-
![Select jar file](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/19900f7a-f00f-473d-780e-4a28c2ecd800/public "Select jar file")
23+
7. Add the JDBC jar file:
24+
1. Click the "Libraries" tab
25+
1. Click the: "Add File" button
26+
1. Choose the "flight-sql-jdbc-driver-15.0.1.jar" jar file (the file downloaded in step 3 above) - and click "Open"
27+
![Select jar file](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/19900f7a-f00f-473d-780e-4a28c2ecd800/public "Select jar file")
2928
1. Close the Driver editor window with the blue "OK" button on the lower-right
3029

31-
3230
8. Enter the driver settings:
3331
1. Click the "Settings" tab
3432
1. In the "Driver Name" field - enter: ```Apache Arrow Flight SQL```
3533
1. In the "URL Template" field - enter: ```jdbc:arrow-flight-sql://{host}:{port}?useEncryption=false&disableCertificateVerification=true```
3634
1. In the "Driver Type" drop-down box - choose: "SQLite"
3735
1. Select "No authentication"
38-
1. Your driver manager "Edit Driver" window should look like this:
36+
1. The driver manager "Edit Driver" window should look like this:
3937
![Driver Manager completed](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/20348c42-117b-4763-80d2-6e615b23ae00/public "Driver Manager completed")
4038
1. Click the blue "OK" button on the lower-right to save the driver
4139
1. Close the "Driver Manager" window by clicking the blue "Close" button on the lower-right.
@@ -45,26 +43,25 @@ weight: 60
4543
1. In the DBeaver application menu bar, open the "Database" menu and choose: "New Database Connection":
4644
![New Database Connection](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/acdf7251-4238-44ee-9639-0c557518da00/public "New Database Connection")
4745
1. In the "Connect to a database" window - type: ```Flight``` in the search bar
48-
1. Choose the ```Apache Arrow Flight SQL``` driver - your window should look like this:
46+
1. Choose the ```Apache Arrow Flight SQL``` driver - the window should look like this:
4947
![Connect to a database window](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/61cee5fe-dc75-4ac1-e558-eea3aff4c100/public "Connect to a database window")
5048
1. Click the blue "Next >" button on the bottom of the window
51-
1. On the next screen, the JDBC URL should be filled out already - just supply the Host (`localhost`) and Port (`50051`) values for your Spice.ai runtime. Your window should look like this:
49+
1. On the next screen, the JDBC URL should be filled out already - just supply the Host (`localhost`) and Port (`50051`) values for the Spice.ai runtime. The window should look like this:
5250
![Connect to a database window 2](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/2a2b2fdc-00db-49d3-5359-059b12342b00/public "Connect to a database window 2")
53-
1. Click the "Test Connection" button - your window should look like this:
51+
1. Click the "Test Connection" button - the window should look like this:
5452
![Test Connection results](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/a3fc5f5f-a39f-47ce-7955-4b384ec1ae00/public "Test Connection results")
5553
1. Click the blue "OK" button to close the Connection test window
5654
1. Click the "Connection details (name, type, ...)" button on the right
57-
1. In the "General" section, enter: `Spice.ai Runtime` for the "Connection name". It should look like this:
55+
1. In the "General" section, enter: `Spice.ai Runtime` for the "Connection name". It should look like this:
5856
![Name the Database Connection](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/f6d04fe1-92a1-4082-d4ea-e9daacaca200/public)
5957
1. Click the blue "Finish" button to save the connection
6058

61-
6259
10. Run a query:
6360
1. Right-click on the Database Connection on the left - choose: "SQL Editor", and then: "Open SQL Console" as shown here:
6461
![Open SQL Console](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/642a5885-9e3f-4dd7-ef43-72bfce27bb00/public "Open SQL Console")
6562
1. In the Console window - run a query - something like: ```SELECT * FROM taxi_trips;```
6663
1. Click the triangle button to execute the SQL statement - as shown below (or use keyboard shortcut: Ctrl+Enter):
6764
![Execute SQL](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/2134e47b-a066-47e9-1d48-06352675f400/public "Execute SQL")
68-
1. You should see the query results as shown in this screenshot:
65+
1. See the query results as shown in this screenshot:
6966
![Query Results](https://imagedelivery.net/HyTs22ttunfIlvyd6vumhQ/0e9f3c0f-2e03-47f9-8d5e-65e078d7e900/public "Query Results")
70-
1. You can now use DBeaver to query your Spice.ai datasets using SQL! 🎉
67+
1. DBeaver is now configured to query the Spice.ai runtime using SQL! 🎉

0 commit comments

Comments
 (0)