esadek opened a new issue, #4328:
URL: https://github.com/apache/arrow-adbc/issues/4328

   The C# driver manager's TOML parser throws an exception if literal 
(single-quoted) strings are used, however, [the 
documentation](https://arrow.apache.org/adbc/current/format/driver_manifests.html#manifest-structure)
 uses literal strings in the example manifest. I do not see any mention is the 
documentation suggesting that single-quoted strings are not permitted.
   
   Stack trace:
   ```
   Unhandled exception. Apache.Arrow.Adbc.AdbcException: Invalid TOML profile: 
Invalid TOML value ''DuckDB'': only double-quoted strings, integers, floats, 
and 'true'/'false' are supported.
    ---> System.FormatException: Invalid TOML value ''DuckDB'': only 
double-quoted strings, integers, floats, and 'true'/'false' are supported.
      at Apache.Arrow.Adbc.DriverManager.TomlParser.ParseValue(String raw)
      at Apache.Arrow.Adbc.DriverManager.TomlParser.Parse(String content)
      at 
Apache.Arrow.Adbc.DriverManager.FilesystemProfileProvider.LoadFromContent(String
 tomlContent)
   ```
   
   Exception source:
   
https://github.com/apache/arrow-adbc/blob/680f92f3f374644caa8c0ec9c34267641c6fc6de/csharp/src/Apache.Arrow.Adbc/DriverManager/TomlParser.cs#L197-L199


-- 
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