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
'SELECT trip_distance, total_amount FROM taxi_trips ORDER BY trip_distance DESC LIMIT 10;',
43
74
timeout=5*60
44
75
)
45
76
pd = data.read_pandas()
46
-
```
77
+
```
78
+
79
+
### Refresh an accelerated dataset
80
+
81
+
The SDK supports refreshing an accelerated dataset with the `Client.refresh_dataset()` method. Refresh a dataset by calling this method on an instance of an SDK client:
82
+
83
+
```python
84
+
from spicepy import Client, RefreshOpts
85
+
86
+
client = Client()
87
+
88
+
client.refresh_dataset("taxi_trips", None) # refresh with no refresh options
89
+
client.refresh_dataset("taxi_trips", RefreshOpts(refresh_sql="SELECT * FROM taxi_trips LIMIT 10")) # refresh with overridden refresh SQL
0 commit comments