Skip to content

Commit

Permalink
dfs config
Browse files Browse the repository at this point in the history
  • Loading branch information
cherkavi authored Jun 30, 2021
1 parent 59eec50 commit c6b4b9e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions drill.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,36 @@ drill.exec: {
}
```

### local filesystem dfs
```json
"type": "file",
"connection": "file:///",
"workspaces": {
"json_files": {
"location": "/home/projects/dataset/test01",
"writable": false,
"defaultInputFormat": "json",
"allowAccessOutsideWorkspace": false
},
"tmp": {
"location": "/tmp",
"writable": true,
"defaultInputFormat": null,
"allowAccessOutsideWorkspace": false
},
"root": {
"location": "/",
"writable": false,
"defaultInputFormat": null,
"allowAccessOutsideWorkspace": false
}
},

```
```sql
SELECT filepath, filename, sku FROM dfs.json_files.`/*` where sku is not null;
```

http://drill.apache.org/docs/s3-storage-plugin/
vim apache-drill-1.19.0/conf/core-site.xml
```xml
Expand Down

0 comments on commit c6b4b9e

Please sign in to comment.