| 167 | |
| 168 | @pytest.fixture |
| 169 | def simple_dataset_2() -> pd.DataFrame: |
| 170 | now = _utc_now() |
| 171 | ts = pd.Timestamp(now).round("ms") |
| 172 | data = { |
| 173 | "id_join_key": ["a", "b", "c", "d", "e"], |
| 174 | "float_col": [0.1, 0.2, 0.3, 4, 5], |
| 175 | "int64_col": [1, 2, 3, 4, 5], |
| 176 | "string_col": ["a", "b", "c", "d", "e"], |
| 177 | "ts_1": [ |
| 178 | ts, |
| 179 | ts - timedelta(hours=4), |
| 180 | ts - timedelta(hours=3), |
| 181 | ts - timedelta(hours=2), |
| 182 | ts - timedelta(hours=1), |
| 183 | ], |
| 184 | } |
| 185 | return pd.DataFrame.from_dict(data) |
| 186 | |
| 187 | |
| 188 | def start_test_local_server(repo_path: str, port: int): |