From 9cbeabd10297f7c79a22948f74097e317d1179b6 Mon Sep 17 00:00:00 2001 From: AndyHunt66 Date: Thu, 4 Aug 2022 10:24:02 +0100 Subject: [PATCH] Added info about using PAT with on-prem This is the behaviour of the auth code in Dremio Software. --- python/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/README.md b/python/README.md index 3b1f23dd..c487aed3 100644 --- a/python/README.md +++ b/python/README.md @@ -80,3 +80,9 @@ Running the command will return the following. ``` You have now run your first Flight query on Dremio Cloud! + +### Note +* If you are running Dremio Enterprise on your own infrastructure (i.e. not running on Dremio Cloud) and are using PATs, the PAT must be added as the value to the `-pass` parameter and the `-user` must be specified. +E.g: + +```python3 example.py -host my.dremio.local -port 443 -user dremio -pass '' -tls -query 'SELECT * FROM Samples."samples.dremio.com"."NYC-taxi-trips" limit 10'```