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 afbcedd6b feat(csharp): make DriverName virtual in SparkConnection to 
enable driver-specific identification (#3893)
afbcedd6b is described below

commit afbcedd6bafedb13b5e9a129ecbe6812665f6c41
Author: Madhavendra Rathore <[email protected]>
AuthorDate: Wed Jan 14 20:27:07 2026 +0530

    feat(csharp): make DriverName virtual in SparkConnection to enable 
driver-specific identification (#3893)
    
    ## Summary
    Converts `DriverName` from a constant to a virtual property in
    `SparkConnection`, enabling derived drivers (Databricks) to properly
    identify themselves in GetInfo API responses and User-Agent headers.
    Associated PR:
    
[https://github.com/adbc-drivers/databricks/pull/127](https://github.com/adbc-drivers/databricks/pull/127)
---
 csharp/src/Drivers/Apache/Spark/SparkConnection.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csharp/src/Drivers/Apache/Spark/SparkConnection.cs 
b/csharp/src/Drivers/Apache/Spark/SparkConnection.cs
index 3b0fb634b..7b5544f09 100644
--- a/csharp/src/Drivers/Apache/Spark/SparkConnection.cs
+++ b/csharp/src/Drivers/Apache/Spark/SparkConnection.cs
@@ -28,7 +28,7 @@ namespace Apache.Arrow.Adbc.Drivers.Apache.Spark
     internal abstract class SparkConnection : HiveServer2Connection
     {
         protected const string ProductVersionDefault = "1.0.0";
-        protected const string DriverName = "ADBC Spark Driver";
+        protected virtual string DriverName => "ADBC Spark Driver";
         private const string ArrowVersion = "1.0.0";
         private readonly Lazy<string> _productVersion;
 

Reply via email to