#!/usr/bin/env bash ROOT=$(cd `dirname $0`/../../../; pwd) cd $ROOT #host=39.104.80.229 host=127.0.0.1 pointIndex=1 storagePath="root.test1.wf01.wt01"; echo "----test query point last data pointIndex:${pointIndex}" java -cp ./lib/iotdb.jar demo.query.last.QuerySinglePointLastData \ --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointIndex ${pointIndex} \ --showQueryResult 1 2>&1 | tee -a ./log/iotdb/out.log