#!/usr/bin/env bash ROOT=$(cd `dirname $0`/../../../; pwd) cd $ROOT source $ROOT/shell/iotdb/common.sh 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