Apache.Calcite.Data.Common 2.0.1-pre.236

This is a prerelease version of Apache.Calcite.Data.Common.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Apache.Calcite.Data.Common --version 2.0.1-pre.236
                    
NuGet\Install-Package Apache.Calcite.Data.Common -Version 2.0.1-pre.236
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Apache.Calcite.Data.Common" Version="2.0.1-pre.236" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apache.Calcite.Data.Common" Version="2.0.1-pre.236" />
                    
Directory.Packages.props
<PackageReference Include="Apache.Calcite.Data.Common" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Apache.Calcite.Data.Common --version 2.0.1-pre.236
                    
#r "nuget: Apache.Calcite.Data.Common, 2.0.1-pre.236"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Apache.Calcite.Data.Common@2.0.1-pre.236
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Apache.Calcite.Data.Common&version=2.0.1-pre.236&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Apache.Calcite.Data.Common&version=2.0.1-pre.236&prerelease
                    
Install as a Cake Tool

Apache.Calcite.Data.Common

What the Apache Calcite ADO.NET provider and the ADO.NET adapter both need: the CLR type mapping.

Calcite holds a value of a SQL type in a particular runtime class — a DATE is a count of days in a java.lang.Integer, a DECIMAL is a java.math.BigDecimal, a UTINYINT is an org.joou.UByte — and .NET wants a DateTime, a decimal, a byte. Deciding which .NET type a column is seen as, and converting values across that boundary in both directions, is one question asked in four places: reading a provider's DbDataReader into a plan, binding a command parameter, reading a result column, and typing a table. This project answers it once.

The answer comes from a chain of IClrTypeResolver, first non-null winning, which a caller extends by putting its own resolver in front:

connection.TypeMapper.Prepend(new MyResolver());

A mapping states the CLR type it presents, the Calcite type it presents it as, and the two conversions. What it may not state is the runtime class Calcite holds the value in: that comes from JavaTypeFactory.getJavaClass, and the first conversion a mapping performs is checked against it. The type factory is the authority because it is not fixed — a schema that types a column with createJavaType carries its own class through the whole plan, ahead of every SqlTypeName the switch in JavaTypeFactoryImpl knows.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Apache.Calcite.Data.Common:

Package Downloads
Apache.Calcite.Data

An in-process ADO.NET provider for Apache Calcite. Runs Calcite's SQL parser, planner and query engine inside the .NET process via IKVM, with no JDBC driver or server.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1-pre.267 0 9/28/2026
2.0.1-pre.254 37 9/28/2026
2.0.1-pre.250 36 9/27/2026
2.0.1-pre.236 53 9/26/2026
2.0.1-pre.230 44 9/26/2026
2.0.1-pre.190 168 9/20/2026
2.0.1-pre.188 173 9/19/2026