Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-44800: [C#] Implement Flight SQL Client #44783

Open
wants to merge 81 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
96e686a
initial commit
Aug 5, 2024
24981b4
feat(sqlclient): implemented methods
Aug 6, 2024
61afbc4
Merge branch 'apache:main' into feat/flight-sql-client
HackPoint Aug 11, 2024
b838643
Merge branch 'apache:main' into feat/flight-sql-client
HackPoint Aug 14, 2024
b191116
Merge branch 'refs/heads/main' into feat/flight-sql-client
Aug 18, 2024
d7a535c
feat: cancel functionality
Aug 18, 2024
b6c3e9e
feat: cancel flight info
Aug 19, 2024
d43aa76
feat: cancel query
Aug 19, 2024
f3d713d
Merge branch 'apache:main' into feat/flight-sql-client
HackPoint Aug 19, 2024
728957e
test(FlightSqlClient): infra and initial testing
Aug 26, 2024
9bee3e4
Merge branch 'apache:main' into feat/flight-sql-client
HackPoint Aug 26, 2024
f469bac
Merge remote-tracking branch 'origin/feat/flight-sql-client' into fea…
Aug 26, 2024
a3c0c09
refactor: FlightSqlClient
Aug 28, 2024
0aa9353
Merge branch 'main' into feat/flight-sql-client
Aug 28, 2024
4d48ab1
feat(test): GetFlightInfo
Sep 2, 2024
4bfc2a9
refactor: Flight sql testing
Sep 4, 2024
291670d
testing: flightsql
Sep 4, 2024
2df0baa
rollback: FlightTests
Sep 4, 2024
6e822ce
Merge branch 'main' into feat/flight-sql-client
Sep 4, 2024
6c6cbf7
test: flight client
Sep 4, 2024
89b6661
testing: FlightSqlClient
Sep 9, 2024
ac23dba
testing: CancelQuery
Sep 9, 2024
0263c44
test: DoPut
Sep 11, 2024
dea81b0
Merge branch 'apache:main' into feat/flight-sql-client
HackPoint Sep 12, 2024
a326326
Merge branch 'main' into feat/flight-sql-client
Sep 18, 2024
c5eb5d6
chore: protobuf version fix
Sep 18, 2024
c4abd00
chore: remove commented out commands in CMakeLists.txt
Sep 18, 2024
2ce6f4c
chore: adding ConfigureAwait(false) to every async method to TestFlig…
Sep 18, 2024
8907913
chore: attending issues in github
Sep 18, 2024
861df24
chore: adding features
Sep 22, 2024
8c20183
feat: PrepareStatement
Sep 23, 2024
c4d7d7c
Merge branch 'main' into feat/flight-sql-client
Sep 23, 2024
75d9e09
fix: update PreparedStatement
Sep 23, 2024
6d19d06
feat: CancelFlightInfo & CancelFlightQuery
Sep 25, 2024
f36616b
test: allow update status from FlightInfoCancelResult
Sep 25, 2024
d2995ba
Merge branch 'main' into feat/flight-sql-client
Sep 29, 2024
be327a2
version: update 3.28.1 to 3.28.2
Sep 29, 2024
1940c86
chore: remove commented out code
Sep 29, 2024
3c6a6dd
chore: removed testing project
Sep 29, 2024
a48a85e
chore: revert ident
Sep 29, 2024
55449df
chore: revert ident
Sep 29, 2024
5a77bfa
chore: revert ident
Sep 29, 2024
3cb3171
chore: fix ident
Sep 29, 2024
157530b
chore: remove line wrap
Sep 30, 2024
e423360
chore: remove as this is specific to JetBrains
Sep 30, 2024
5d93c15
chore: use the predefined constants instead of the hardcoded strings
Sep 30, 2024
f16ef75
chore: move the runner of the test project and testing env to inner p…
Oct 6, 2024
08ec915
Merge branch 'main' into feat/flight-sql-client
Oct 13, 2024
6c229bc
feat: PreparedStatement
Oct 13, 2024
300490f
chore: PreparedStatement
Oct 15, 2024
b8d0d4c
Merge branch 'main' into feat/flight-sql-client
Oct 23, 2024
f14e28e
Merge branch 'main' into feat/flight-sql-client
HackPoint Oct 23, 2024
d998394
Merge remote-tracking branch 'origin/feat/flight-sql-client' into fea…
Oct 28, 2024
68eecd9
Merge branch 'main' into feat/flight-sql-client
Oct 28, 2024
34e0113
refactor: FlightCallOptions
Oct 28, 2024
0e6b3c5
refactor: add code line to match source
Oct 28, 2024
fbf0b92
refactor: Execute method removed ParameterBatch argument
Oct 30, 2024
f2de0f1
fix: SqlList default argument
Oct 30, 2024
efb6790
refactor: Execute
Oct 30, 2024
012921b
refactor: adding disposing after invoking the client
Oct 30, 2024
642619b
chore: missing files updates
Oct 30, 2024
2568a9a
refactor: removing extensions internal class from single file into it…
Nov 6, 2024
97d05ed
refactor: reduce code and concise GetExecuteSchemaAsync
Nov 6, 2024
357b4e6
refactor: PrepareAsync name
Nov 6, 2024
df8ca60
fix: resolved issues which were found when the client was tested agai…
Nov 18, 2024
9caa6f2
chore: appended the build reference for nuget.
Nov 18, 2024
7e5fe43
Merge branch 'main' into feat/flight-sql-client
Nov 18, 2024
8a14561
chore: adding official Apache header to all the source files
Nov 20, 2024
842e1ab
chore: appended not existing project which was added after the projec…
Nov 20, 2024
9f166c2
chore: reverted version to existing one 2.66.0 -> 2.67.0
Nov 20, 2024
be65271
chore: removed empty line
Nov 20, 2024
59cc8e7
Merge branch 'main' into feat/flight-sql-client
Nov 20, 2024
2b615d6
fix: conversion from long to int and default value
Nov 24, 2024
96768cd
chore: clear out the empty line
Nov 24, 2024
02a9cb1
chore: remove redundant change
Nov 24, 2024
dc9cf53
Merge branch 'main' into feat/flight-sql-client
Nov 28, 2024
d4afd4e
chore: revert changes
Nov 28, 2024
589fb12
Merge branch 'main' into feat/flight-sql-client
Dec 23, 2024
e124151
chore: clean up redundant namespaces
Dec 23, 2024
bdbb9d3
Merge branch 'main' into feat/flight-sql-client
Feb 18, 2025
fb7e627
Merge remote-tracking branch 'origin/main' into feat/flight-sql-client
Feb 24, 2025
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
4 changes: 2 additions & 2 deletions csharp/Apache.Arrow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.Flight", "src\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.Flight.AspNetCore", "src\Apache.Arrow.Flight.AspNetCore\Apache.Arrow.Flight.AspNetCore.csproj", "{E4F74938-E8FF-4AC1-A495-FEE95FC1EFDF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.IntegrationTest", "test\Apache.Arrow.IntegrationTest\Apache.Arrow.IntegrationTest.csproj", "{E8264B7F-B680-4A55-939B-85DB628164BB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.Compression", "src\Apache.Arrow.Compression\Apache.Arrow.Compression.csproj", "{B62E77D2-D0B0-4C0C-BA78-1C117DE4C299}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.Compression.Tests", "test\Apache.Arrow.Compression.Tests\Apache.Arrow.Compression.Tests.csproj", "{5D7FF380-B7DF-4752-B415-7C08C70C9F06}"
Expand All @@ -29,6 +27,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Arrow.Flight.Sql", "
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Arrow.Flight.IntegrationTest", "test\Apache.Arrow.Flight.IntegrationTest\Apache.Arrow.Flight.IntegrationTest.csproj", "{7E66CBB4-D921-41E7-A98A-7C6DEA521696}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow.IntegrationTest", "test\Apache.Arrow.IntegrationTest\Apache.Arrow.IntegrationTest.csproj", "{E8264B7F-B680-4A55-939B-85DB628164BB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
6 changes: 6 additions & 0 deletions csharp/examples/Examples.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentBuilderExample", "Flu
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.Arrow", "..\src\Apache.Arrow\Apache.Arrow.csproj", "{1FE1DE95-FF6E-4895-82E7-909713C53524}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlightClientExample", "FlightClientExample\FlightClientExample.csproj", "{CBB46C39-530D-465A-9367-4E771595209A}"
EndProject
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FlightClientExample was added to Examples.sln but its files are not part of this pull request.

Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -21,6 +23,10 @@ Global
{1FE1DE95-FF6E-4895-82E7-909713C53524}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FE1DE95-FF6E-4895-82E7-909713C53524}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FE1DE95-FF6E-4895-82E7-909713C53524}.Release|Any CPU.Build.0 = Release|Any CPU
{CBB46C39-530D-465A-9367-4E771595209A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CBB46C39-530D-465A-9367-4E771595209A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CBB46C39-530D-465A-9367-4E771595209A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CBB46C39-530D-465A-9367-4E771595209A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<ItemGroup>
<PackageReference Include="Grpc.Tools" Version="2.68.1" PrivateAssets="All" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading
Loading