diff --git a/example/session_example.go b/example/session_example.go index bb85240..b370435 100644 --- a/example/session_example.go +++ b/example/session_example.go @@ -57,8 +57,6 @@ func main() { } defer session.Close() - fastInsertRecords() - setStorageGroup("root.ln1") deleteStorageGroup("root.ln1") @@ -383,26 +381,6 @@ func insertAlignedRecord() { fmt.Println() } -func fastInsertRecords() { - var ( - deviceIds = []string{"root.fast.d1", "root.fast.d2"} - dataTypes = [][]client.TSDataType{{client.INT32, client.INT32}, {client.INT32, client.INT32}} - values = [][]interface{}{{int32(120), int32(121)}, {int32(130), int32(131)}} - timestamp = []int64{12, 13} - ) - checkError(session.FastInsertRecords(deviceIds, dataTypes, values, timestamp)) - sessionDataSet, err := session.ExecuteStatement("show devices") - if err == nil { - printDataSet0(sessionDataSet) - sessionDataSet.Close() - } else { - log.Println(err) - } - - deleteTimeseries("root.fast.**") - fmt.Println() -} - func insertRecords() { var ( deviceId = []string{"root.sg1.dev1"}