Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/torosent/drill-csharp

Apache Drill client in C#
https://github.com/torosent/drill-csharp

apache-drill client csharp

Last synced: about 4 hours ago
JSON representation

Apache Drill client in C#

Awesome Lists containing this project

README

        

# drill-csharp

C# client for Apache Drill

## How to use

Dynamic response:

```csharp
var bit = new DrillBit(address);
var query = new Query(bit);
var result =await query.Execute("select * from dfs.`/tmp/donuts.json` where name= \u0027Cake\u0027");
foreach (dynamic row in result.Rows)
{
var id = row.id.ToString();
}
```

Structured response:

```csharp
var bit = new DrillBit(address);
var query = new Query(bit);
var result = await query.Execute("show files in dfs.`/tmp`");
foreach (var row in result.Rows)
{
var name = row.Name;
}
```