You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.ps1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ function Build-Server {
275
275
Write-Host" WARNING: Could not detect DuckDB version"-ForegroundColor Yellow
276
276
}
277
277
try {
278
-
$extJson=&$duckBin-json -c "INSTALL lance FROM community; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>$null|Out-String
278
+
$extJson=&$duckBin-json -c "INSTALL lance; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>$null|Out-String
279
279
$extObj=$extJson|ConvertFrom-Json
280
280
if ($extObj-and$extObj[0].extension_version) {
281
281
$lanceVer=$extObj[0].extension_version
@@ -351,7 +351,7 @@ function Build-ServerAll {
351
351
Write-Host" WARNING: Could not detect DuckDB version"-ForegroundColor Yellow
352
352
}
353
353
try {
354
-
$extJson=&$duckBin-json -c "INSTALL lance FROM community; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>$null|Out-String
354
+
$extJson=&$duckBin-json -c "INSTALL lance; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>$null|Out-String
Copy file name to clipboardExpand all lines: build.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ cmd_server() {
290
290
echo" WARNING: Could not detect DuckDB version"
291
291
fi
292
292
local ext_json
293
-
if ext_json=$("$duck_bin" -json -c "INSTALL lance FROM community; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>/dev/null);then
293
+
if ext_json=$("$duck_bin" -json -c "INSTALL lance; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>/dev/null);then
if ext_json=$("$duck_bin" -json -c "INSTALL lance FROM community; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>/dev/null);then
441
+
if ext_json=$("$duck_bin" -json -c "INSTALL lance; LOAD lance; SELECT extension_version FROM duckdb_extensions() WHERE extension_name='lance' AND loaded=true"2>/dev/null);then
0 commit comments