Skip to content

Commit

Permalink
feat(csharp/src/Drivers/BigQuery): add support for net472 (#2527)
Browse files Browse the repository at this point in the history
Add support for net472 to the BigQuery driver.

---------

Co-authored-by: David Coe <>
  • Loading branch information
davidhcoe authored Feb 16, 2025
1 parent 2daf226 commit 8f2b31a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions csharp/src/Drivers/Apache/Hive2/SqlTypeNameParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ internal abstract class SqlTypeNameParser<T> : ISqlTypeNameParser where T : SqlT
};

// 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
Expand Down
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 8f2b31a

Please sign in to comment.