Can a .NET C# application connect and query from an Azure Databricks or Azure Synapse Spark Delta Lake table?

Catameo, Fred (Taguig City 1634) 236 Reputation points
2021-04-01T12:11:02.427+00:00

Is there a recommended way for a .NET C# application to connect and query from an Azure Databricks or Azure Synapse Spark Delta Lake table? Perhaps, there is a framework available we can use?

Can a .NET C# app connect via JDBC or ODBC connection to the delta lake database and query from a table?
Ref: https://stackoverflow.com/questions/66750474/simba-odbc-connection-to-delta-table-read-data-from-delta-format-tables-using

If there is none yet, alternatively, is there a recommended way for a .NET C# application to connect and query from a Data Lake parquet file?
Ref: https://www.reddit.com/r/dotnet/comments/9enqz7/open_source_c_net_libraries_for_reading_and/

Thank you.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,917 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,238 questions
{count} vote

2 answers

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,422 Reputation points Microsoft Employee
    2021-04-05T23:13:01.53+00:00

    Hi @Catameo, Fred (Taguig City 1634) ,

    Here is a NuGet package available for Delta support in C# : .Net for Apache Spark Extensions

    84662-image.png

    Could you please try this and see if it helps to achieve your requirement.

    And also Synapse supports authoring your Spark applications in .NET. Here are a couple of links that might be useful:

    The notebook linked in the second bullet above shows you how you can do basic IO and the third bullet above shows you how you can read a Delta Lake table.

    Hope this info helps. Let us know how it goes.

    Thanks

    ----------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

  2. David Browne - msft 3,766 Reputation points
    2021-04-07T20:16:24.457+00:00

    Also you can use any SQL Server client to query the Data Lake through Synapse Serverless SQL Pool.

    1 person found this answer helpful.
    0 comments No comments