Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
dotnet build --no-restore --configuration Release

- name: Test
run: dotnet test -c Release --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"
run: dotnet test -c Release /p:TestTfmsInParallel=false --logger "console;verbosity=detailed" --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"

# - name: Upload dotnet test results
# uses: actions/upload-artifact@v4
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ A .NET Core binding for [chdb](https://doc.chdb.io) library.
![NuGet Version](https://img.shields.io/nuget/vpre/chdb)
![NuGet Downloads](https://img.shields.io/nuget/dt/chdb)

### Architecture

<div align="center">
<img src="https://github.com/chdb-io/chdb-dotnet/raw/main/chdb-dotnet.png" width="450">
</div>

### Usage

Running on platforms: linux, osx, windows, and architectures: x64, arm64.
Expand Down Expand Up @@ -102,7 +108,7 @@ chdb "select * from system.formats where is_output = 1" PrettyCompact
# Build

```bash
./update_libchdb.sh [v1.2.1]
./update_libchdb.sh [v2.0.4]
cp libchdb.so src/chdb/
dotnet build -c Release
dotnet test -c Release
Expand All @@ -115,3 +121,4 @@ chdb --version
## Authors

* [Andreas Vilinski](https://github.com/vilinski)
* [Auxten](https://github.com/auxten)
Binary file added chdb-dotnet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/chdb/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record Session : IDisposable

public void Dispose()
{
if (!IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
if (IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
Directory.Delete(DataPath, true);
}

Expand Down
Loading