@@ -83,7 +83,7 @@ const QuerySelection = ({db, cb}) => {
8383 const f = availableQueries . filter ( ( q ) => q . query === eventKey )
8484 cb ( f [ 0 ] . content )
8585 }
86- return ( < DropdownButton id = "dropdown-basic-button" title = "Select Query" onSelect = { handleSelect } >
86+ return ( < DropdownButton as = { ButtonGroup } id = "dropdown-basic-button" title = "Select Query" onSelect = { handleSelect } >
8787 { availableQueries . map ( q => (
8888 < Dropdown . Item eventKey = { q . query } > { q . query } </ Dropdown . Item >
8989 ) ) }
@@ -109,7 +109,7 @@ const DropdownCheckbox = ({label, options, onChange}) => {
109109 } ;
110110
111111 return (
112- < DropdownButton title = { label } variant = "secondary" >
112+ < DropdownButton as = { ButtonGroup } title = { label } variant = "secondary" >
113113 < Form >
114114 < FormGroup >
115115 { options . map ( ( option , index ) => (
@@ -167,6 +167,7 @@ function App() {
167167 }
168168 }
169169 const host = process . env . REACT_APP_API_URL
170+ const lingodb_commit = process . env . REACT_APP_LINGODB_COMMIT
170171 const fetchQueryPlan = async ( ) => {
171172 try {
172173 setQueryPlanLoading ( true )
@@ -300,9 +301,8 @@ function App() {
300301 < h2 > SQL WebInterface</ h2 >
301302 < Alert variant = "warning" >
302303 < b > Note!</ b > This webinterface is for demo purposes only, and especially not suited for benchmarking.
303- It runs with 4 threads on a very old, low-end server (i7-3770 CPU, 32 GB), and LingoDB executes queries
304- with additional verifications.
305- Furthermore, every request is processed by executing one of LingoDB's command line tools which first
304+ It runs with 4 threads on a small virtual machine (4 GiB RAM, 4 virtual cores), and LingoDB executes queries
305+ with additional verifications. Furthermore, every request is processed by executing one of LingoDB's command line tools which first
306306 loads the data set into memory, increasing the observable latency significantly.
307307 </ Alert >
308308 < Editor
@@ -314,12 +314,10 @@ function App() {
314314 />
315315 < div style = { { textAlign : "center" } } >
316316 < ButtonGroup >
317- < div id = "rounded" >
318317 < Button variant = "primary" onClick = { handleExecute } >
319318 < FontAwesomeIcon icon = { faPlay } > </ FontAwesomeIcon > Execute Query
320319 </ Button >
321- </ div >
322- < DropdownButton id = "dropdown-basic-button" title = { selectedDB . label } onSelect = { handleSelectDB } >
320+ < DropdownButton as = { ButtonGroup } id = "dropdown-basic-button" title = { selectedDB . label } onSelect = { handleSelectDB } >
323321 < Dropdown . Item eventKey = "tpch-1" > TPC-H (SF1)</ Dropdown . Item >
324322 < Dropdown . Item eventKey = "tpcds-1" > TPC-DS (SF1)</ Dropdown . Item >
325323 < Dropdown . Item eventKey = "job" > JOB</ Dropdown . Item >
@@ -328,6 +326,9 @@ function App() {
328326 < QuerySelection db = { selectedDB . value } cb = { ( content ) => setQuery ( content ) } > </ QuerySelection >
329327 < DropdownCheckbox label = "Options" options = { [ { label : 'Real Cardinalities' , value : 'real-cards' } ] }
330328 onChange = { handleOptionsChange } />
329+ < a href = { `https://github.com/lingo-db/lingo-db/commit/${ lingodb_commit } ` } target = "_blank" className = "btn btn-outline-primary" >
330+ LingoDB@{ lingodb_commit }
331+ </ a >
331332 </ ButtonGroup >
332333 </ div >
333334 { showResults &&
0 commit comments