From aaf85d7b574437e91c636e2f3c7c62c75decb4c5 Mon Sep 17 00:00:00 2001 From: Vitalii Cherkashyn Date: Tue, 10 Nov 2020 17:39:23 +0100 Subject: [PATCH] drill special commands --- mapr.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mapr.md b/mapr.md index 95bd8f61..a2e7aa4e 100755 --- a/mapr.md +++ b/mapr.md @@ -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 @@ -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 \ @@ -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