Commit 73d8158
authored
fix(managed): adopt hotdata 0.6.0 native x_database_id result params (#36)
The 0.6.0 SDK (bumped in #34) added x_database_id to get_result,
get_query_run, and get_result_arrow — and made it REQUIRED on
get_result_arrow, so the header-based scope from #35 would raise
TypeError at the Arrow fetch under the new SDK (the mocked tests could
not see a generated-signature change).
- _wait_result_ready / _await_query_run / _fetch_result_arrow pass
x_database_id natively; the scoped default-header workaround is gone.
- hotdata pin raised to >=0.6.0 (older framework code cannot run on
0.6.0 anyway, per the required param).
- Test fakes mirror the 0.6.0 signatures, with x_database_id required on
the Arrow fake so dropping the scope fails the suite again.
Verified live against api.hotdata.dev: the state-table append path
(fetch -> concat -> load) completes on SDK 0.6.0.
Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>1 parent 6c68988 commit 73d8158
5 files changed
Lines changed: 35 additions & 50 deletions
File tree
- hotdata_framework
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
125 | 124 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| |||
172 | 168 | | |
173 | 169 | | |
174 | 170 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 171 | + | |
178 | 172 | | |
179 | 173 | | |
180 | 174 | | |
| |||
186 | 180 | | |
187 | 181 | | |
188 | 182 | | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 183 | + | |
| 184 | + | |
193 | 185 | | |
194 | 186 | | |
195 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 90 | + | |
101 | 91 | | |
102 | | - | |
| 92 | + | |
103 | 93 | | |
104 | 94 | | |
105 | 95 | | |
| |||
112 | 102 | | |
113 | 103 | | |
114 | 104 | | |
115 | | - | |
116 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
117 | 108 | | |
118 | 109 | | |
119 | 110 | | |
120 | | - | |
| 111 | + | |
121 | 112 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 113 | + | |
| 114 | + | |
125 | 115 | | |
126 | 116 | | |
127 | 117 | | |
| |||
135 | 125 | | |
136 | 126 | | |
137 | 127 | | |
138 | | - | |
139 | | - | |
| 128 | + | |
| 129 | + | |
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
143 | | - | |
144 | | - | |
| 133 | + | |
| 134 | + | |
145 | 135 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
149 | 140 | | |
150 | 141 | | |
151 | 142 | | |
| |||
159 | 150 | | |
160 | 151 | | |
161 | 152 | | |
162 | | - | |
| 153 | + | |
163 | 154 | | |
164 | 155 | | |
165 | 156 | | |
166 | 157 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 158 | + | |
| 159 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments