Skip to content

Commit

Permalink
.Net: Bump DuckDB.NET.Data from 1.0.1 to 1.1.1 in /dotnet (#8969)
Browse files Browse the repository at this point in the history
Bumps [DuckDB.NET.Data](https://github.com/Giorgi/DuckDB.NET) from 1.0.1
to 1.1.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/4f882277be758b08140311674b14cb5f1d63af40"><code>4f88227</code></a>
Update to DuckDB v1.1.1</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/90d91800f7707ea54f34d717f9f5c995ca73e2bc"><code>90d9180</code></a>
Add SQLNULL Type</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/823ccd785d3b645682c7b58f1f2d957dcf3e9280"><code>823ccd7</code></a>
Make properties read-only</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/10fa1b677a0a92e8631ecae48d8a861ebfa53580"><code>10fa1b6</code></a>
Add API to get progress report</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/1ccf91b28476e4b5a1f096edcd517b5aeb5e1015"><code>1ccf91b</code></a>
Merge branch 'bind-value' into develop</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/4fd76ae6ea89670f9bef5ba89b2513f35c299148"><code>4fd76ae</code></a>
Skip arm builds during nightly</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/5a4e58da02a8370eb2349af9cad0f85c47e3e03c"><code>5a4e58d</code></a>
Add win-arm64 support to runtime identifiers (<a
href="https://redirect.github.com/Giorgi/DuckDB.NET/issues/213">#213</a>)</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/67dc268a8e8d13a0dde99e47e73d06ecfa4064c8"><code>67dc268</code></a>
Revert &quot;Tweak DuckDB download logic&quot;</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/93bfa51a5c343e46c476e91d174ebcb246145f4a"><code>93bfa51</code></a>
Update release notes</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/dfab27546a0a3be473879cb1da82943769dcc100"><code>dfab275</code></a>
Merge branch 'nightly-builds' into develop</li>
<li>Additional commits viewable in <a
href="https://github.com/Giorgi/DuckDB.NET/compare/1.0.1...1.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=DuckDB.NET.Data&package-manager=nuget&previous-version=1.0.1&new-version=1.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and westey-m authored Oct 4, 2024
1 parent ae29d87 commit 27fa987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dotnet/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
<!-- Plugins -->
<PackageVersion Include="DocumentFormat.OpenXml" Version="3.1.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.8" />
<PackageVersion Include="DuckDB.NET.Data.Full" Version="1.0.2" />
<PackageVersion Include="DuckDB.NET.Data" Version="1.0.1" />
<PackageVersion Include="DuckDB.NET.Data.Full" Version="1.1.1" />
<PackageVersion Include="DuckDB.NET.Data" Version="1.1.1" />
<PackageVersion Include="MongoDB.Driver" Version="2.28.0" />
<PackageVersion Include="Microsoft.Graph" Version="[4.51.0, 5)" />
<PackageVersion Include="Microsoft.Identity.Client.Extensions.Msal" Version="[2.28.0, )" />
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/Connectors/Connectors.Memory.DuckDB/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public async IAsyncEnumerable<DatabaseEntry> GetNearestMatchesAsync(

using var cmd = conn.CreateCommand();
cmd.CommandText = $@"
SELECT key, metadata, timestamp, embedding, (embedding <=> {embeddingArrayString}) as score FROM {TableName}
SELECT key, metadata, timestamp, embedding, list_cosine_similarity(embedding, {embeddingArrayString}) as score FROM {TableName}
WHERE collection=${nameof(collectionName)} AND len(embedding) > 0 AND score >= {minRelevanceScore.ToString("F12", CultureInfo.InvariantCulture)}
ORDER BY score DESC
LIMIT ${nameof(limit)};";
Expand Down

0 comments on commit 27fa987

Please sign in to comment.