Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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#
- Host: GitHub
- URL: https://github.com/torosent/drill-csharp
- Owner: torosent
- License: mit
- Created: 2019-03-06T11:06:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:19:59.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T05:06:26.485Z (over 1 year ago)
- Topics: apache-drill, client, csharp
- Language: C#
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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;
}
```