msrathore-db commented on code in PR #3474:
URL: https://github.com/apache/arrow-adbc/pull/3474#discussion_r2404099035


##########
csharp/src/Drivers/Databricks/DatabricksConnection.cs:
##########
@@ -771,6 +798,61 @@ private string EscapeSqlString(string value)
             return "`" + value.Replace("`", "``") + "`";
         }
 
+        /// <summary>
+        /// Parses a byte value that may include unit suffixes (B, KB, MB, GB).
+        /// </summary>
+        /// <param name="value">The value to parse, e.g., "300MB", "1024KB", 
"1073741824"</param>
+        /// <returns>The value in bytes</returns>
+        /// <exception cref="FormatException">Thrown when the value cannot be 
parsed</exception>
+        internal static long ParseBytesWithUnits(string value)

Review Comment:
   Added. Thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to