This is an automated email from the ASF dual-hosted git repository.
curth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 8f2b31af4 feat(csharp/src/Drivers/BigQuery): add support for net472
(#2527)
8f2b31af4 is described below
commit 8f2b31af4c007443cccd1d11b04d1d9cdddbe381
Author: davidhcoe <[email protected]>
AuthorDate: Sat Feb 15 23:29:54 2025 -0500
feat(csharp/src/Drivers/BigQuery): add support for net472 (#2527)
Add support for net472 to the BigQuery driver.
---------
Co-authored-by: David Coe <>
---
csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj | 2 +-
csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs | 5 ++---
.../src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
b/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
index 13efc4e0b..7e4c7c096 100644
--- a/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
+++ b/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
diff --git a/csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs
b/csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs
index 4a4ee4913..95fa358b1 100644
--- a/csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs
+++ b/csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs
@@ -88,9 +88,8 @@ namespace Apache.Arrow.Adbc.Drivers.Apache.Hive2
};
// Note: the INTERVAL sql type does not have an associated column type
id.
- private static readonly HashSet<ISqlTypeNameParser> s_parsers =
s_parserMap.Values
- .Concat([SqlIntervalTypeParser.Default,
SqlSimpleTypeParser.Default("VOID")])
- .ToHashSet();
+ private static readonly HashSet<ISqlTypeNameParser> s_parsers = new
HashSet<ISqlTypeNameParser>(s_parserMap.Values
+ .Concat([SqlIntervalTypeParser.Default,
SqlSimpleTypeParser.Default("VOID")]));
/// <summary>
/// Gets the base SQL type name without decoration or sub clauses
diff --git
a/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
b/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
index 937aca261..f0983becf 100644
--- a/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
+++ b/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>