Skip to content

Commit

Permalink
drill special commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Cherkashyn authored Nov 10, 2020
1 parent 8ab2e09 commit aaf85d7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions mapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export MAPR_TICKETFILE_LOCATION=$(maprlogin print | grep "keyfile" | awk '{print
record
```

drill querying data
### drill querying data
```sql
select sessionId, isReprocessable from dfs.`/mapr/dp.prod.zurich/vantage/data/store/processed/0171eabfceff/reprocessable/part-00000-63dbcc0d1bed-c000.snappy.parquet`;
-- or even
Expand Down Expand Up @@ -336,7 +336,7 @@ curl -k -b cookies.txt -X POST \
https://mapr-web.vantage.zur:21103/query.json
```

drill java
### drill java
[src code](https://github.com/cherkavi/java-code-example/blob/master/drill/src/main/java/DrillCollaboration.java)
```sh
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222/jre/bin/java \
Expand All @@ -349,6 +349,17 @@ drill java
DrillCollaboration
```

### drill special commands
increasing amount of parallel processing threads
```sql
set planner.width.max_per_node=10;
```

show errors in log
```sql
ALTER SESSION SET `exec.errors.verbose`=true;
```

## MapRDB ( DBShell )
https://docs.datafabric.hpe.com/61/ReferenceGuide/tablecommands.html
Create table
Expand Down

0 comments on commit aaf85d7

Please sign in to comment.