You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank you for developing a IoTDB Go client.
I see the client documentation states SessionDataSet.Next() and SessionDataSet.GetText() are not go routine safe. GetText() can be replaced with GetValue() or another safe routine, but I can not find a safe replacement for Next(). GetRowRecord() has no row position control and the Tablet methods have no query execution for example. I feel I am missing something obvious but what methods should be used to set row position when processing the session data set in a go routine safe way?
I am using Go client v1.1.7 (I see there is a 1.2.0-tsbs version in go pkg but 1.1.7 is marked as the latest) and IoTDB v1.2.2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Firstly, thank you for developing a IoTDB Go client.
I see the client documentation states SessionDataSet.Next() and SessionDataSet.GetText() are not go routine safe. GetText() can be replaced with GetValue() or another safe routine, but I can not find a safe replacement for Next(). GetRowRecord() has no row position control and the Tablet methods have no query execution for example. I feel I am missing something obvious but what methods should be used to set row position when processing the session data set in a go routine safe way?
I am using Go client v1.1.7 (I see there is a 1.2.0-tsbs version in go pkg but 1.1.7 is marked as the latest) and IoTDB v1.2.2
Thanks,
Steve
Beta Was this translation helpful? Give feedback.
All reactions