altertable-lakehouse 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/altertable/lakehouse/version.rb +1 -1
- data/rbi/altertable/lakehouse.rbi +126 -126
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a4112edc1eff1c9caeed879ce5e7331f6e55837d59e2b715e5e32947f51f237
|
|
4
|
+
data.tar.gz: 72ae2b506a9ee60fe1a9244f976c2af4a407bc70805f4636e45dfc0505cf3bac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5db5a3aea35032b994a7f905463d084636c3b17add02dce0313d3dd9cd5a8f21ed32046e4a3cef598fc30d2e43ba2a0c46acc57688ca3b358ec2c3546edbe39a
|
|
7
|
+
data.tar.gz: 8f22a1b33fdd3f446dd627cc31f4d702614530c3c0c1df90eac4c4fe6367fc0301c97e130b6f235e4fba3610446daff1d12d786cb9e88bee9d9514dc61039441
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.4.1](https://github.com/altertable-ai/altertable-lakehouse-ruby/compare/altertable-lakehouse/v0.4.0...altertable-lakehouse/v0.4.1) (2026-05-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **rbi:** rework RBI syntax & nested types ([#33](https://github.com/altertable-ai/altertable-lakehouse-ruby/issues/33)) ([4845ab1](https://github.com/altertable-ai/altertable-lakehouse-ruby/commit/4845ab1dbb1bfbac04eb4629b0f81ce0e4422e0d))
|
|
11
|
+
|
|
5
12
|
## [0.4.0](https://github.com/altertable-ai/altertable-lakehouse-ruby/compare/altertable-lakehouse/v0.3.0...altertable-lakehouse/v0.4.0) (2026-05-27)
|
|
6
13
|
|
|
7
14
|
|
data/Gemfile.lock
CHANGED
|
@@ -6,25 +6,25 @@ module Altertable
|
|
|
6
6
|
|
|
7
7
|
class Error < StandardError
|
|
8
8
|
sig { returns(T.nilable(String)) }
|
|
9
|
-
|
|
9
|
+
def operation; end
|
|
10
10
|
|
|
11
11
|
sig { returns(T.nilable(String)) }
|
|
12
|
-
|
|
12
|
+
def http_method; end
|
|
13
13
|
|
|
14
14
|
sig { returns(T.nilable(String)) }
|
|
15
|
-
|
|
15
|
+
def http_path; end
|
|
16
16
|
|
|
17
17
|
sig { returns(T.nilable(Integer)) }
|
|
18
|
-
|
|
18
|
+
def status_code; end
|
|
19
19
|
|
|
20
20
|
sig { returns(T::Boolean) }
|
|
21
|
-
|
|
21
|
+
def retriable; end
|
|
22
22
|
|
|
23
23
|
sig { returns(T.nilable(String)) }
|
|
24
|
-
|
|
24
|
+
def request_id; end
|
|
25
25
|
|
|
26
26
|
sig { returns(T.nilable(Exception)) }
|
|
27
|
-
|
|
27
|
+
def cause; end
|
|
28
28
|
|
|
29
29
|
sig do
|
|
30
30
|
params(
|
|
@@ -74,17 +74,17 @@ module Altertable
|
|
|
74
74
|
table: String,
|
|
75
75
|
payload: T.any(T::Hash[T.untyped, T.untyped], T::Array[T::Hash[T.untyped, T.untyped]]),
|
|
76
76
|
sync: T.nilable(T::Boolean)
|
|
77
|
-
).returns(Models::AppendResponse)
|
|
77
|
+
).returns(::Altertable::Lakehouse::Models::AppendResponse)
|
|
78
78
|
end
|
|
79
79
|
def append(catalog:, schema:, table:, payload:, sync: nil); end
|
|
80
80
|
|
|
81
|
-
sig { params(task_id: String).returns(Models::TaskResponse) }
|
|
81
|
+
sig { params(task_id: String).returns(::Altertable::Lakehouse::Models::TaskResponse) }
|
|
82
82
|
def get_task(task_id); end
|
|
83
83
|
|
|
84
|
-
sig { params(statement: String, options: T.untyped).returns(QueryResult) }
|
|
84
|
+
sig { params(statement: String, options: T.untyped).returns(::Altertable::Lakehouse::QueryResult) }
|
|
85
85
|
def query(statement:, **options); end
|
|
86
86
|
|
|
87
|
-
sig { params(statement: String, options: T.untyped).returns(T::Hash[Symbol, T.untyped]) }
|
|
87
|
+
sig { params(statement: String, options: T.untyped).returns(T::Hash[Symbol, T.untyped]).returns(T::Hash[Symbol, T.untyped]) }
|
|
88
88
|
def query_all(statement:, **options); end
|
|
89
89
|
|
|
90
90
|
sig do
|
|
@@ -100,10 +100,10 @@ module Altertable
|
|
|
100
100
|
end
|
|
101
101
|
def upload(catalog:, schema:, table:, format:, mode:, file_io:, primary_key: nil); end
|
|
102
102
|
|
|
103
|
-
sig { params(query_id: String).returns(Models::QueryLogResponse) }
|
|
103
|
+
sig { params(query_id: String).returns(::Altertable::Lakehouse::Models::QueryLogResponse) }
|
|
104
104
|
def get_query(query_id); end
|
|
105
105
|
|
|
106
|
-
sig { params(query_id: String, session_id: String).returns(Models::CancelQueryResponse) }
|
|
106
|
+
sig { params(query_id: String, session_id: String).returns(::Altertable::Lakehouse::Models::CancelQueryResponse) }
|
|
107
107
|
def cancel_query(query_id, session_id:); end
|
|
108
108
|
|
|
109
109
|
sig do
|
|
@@ -112,7 +112,7 @@ module Altertable
|
|
|
112
112
|
catalog: T.nilable(String),
|
|
113
113
|
schema: T.nilable(String),
|
|
114
114
|
session_id: T.nilable(String)
|
|
115
|
-
).returns(Models::ValidateResponse)
|
|
115
|
+
).returns(::Altertable::Lakehouse::Models::ValidateResponse)
|
|
116
116
|
end
|
|
117
117
|
def validate(statement:, catalog: nil, schema: nil, session_id: nil); end
|
|
118
118
|
|
|
@@ -123,7 +123,7 @@ module Altertable
|
|
|
123
123
|
schema: T.nilable(String),
|
|
124
124
|
session_id: T.nilable(String),
|
|
125
125
|
max_suggestions: T.nilable(Integer)
|
|
126
|
-
).returns(Models::AutocompleteResponse)
|
|
126
|
+
).returns(::Altertable::Lakehouse::Models::AutocompleteResponse)
|
|
127
127
|
end
|
|
128
128
|
def autocomplete(statement:, catalog: nil, schema: nil, session_id: nil, max_suggestions: nil); end
|
|
129
129
|
|
|
@@ -134,7 +134,7 @@ module Altertable
|
|
|
134
134
|
schema: T.nilable(String),
|
|
135
135
|
session_id: T.nilable(String),
|
|
136
136
|
include_plan: T.nilable(T::Boolean)
|
|
137
|
-
).returns(Models::ExplainResponse)
|
|
137
|
+
).returns(::Altertable::Lakehouse::Models::ExplainResponse)
|
|
138
138
|
end
|
|
139
139
|
def explain(statement:, catalog: nil, schema: nil, session_id: nil, include_plan: nil); end
|
|
140
140
|
|
|
@@ -156,10 +156,10 @@ module Altertable
|
|
|
156
156
|
end
|
|
157
157
|
def request(method, path, body: nil, query: nil); end
|
|
158
158
|
|
|
159
|
-
sig { params(resp: Adapters::Response, buffer: String, yielder: Enumerator::Yielder).void }
|
|
159
|
+
sig { params(resp: ::Altertable::Lakehouse::Adapters::Response, buffer: String, yielder: Enumerator::Yielder).void }
|
|
160
160
|
def handle_stream_response(resp, buffer, yielder); end
|
|
161
161
|
|
|
162
|
-
sig { params(resp: Adapters::Response).returns(T.untyped) }
|
|
162
|
+
sig { params(resp: ::Altertable::Lakehouse::Adapters::Response).returns(T.untyped) }
|
|
163
163
|
def handle_response(resp); end
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -167,10 +167,10 @@ module Altertable
|
|
|
167
167
|
include Enumerable
|
|
168
168
|
|
|
169
169
|
sig { returns(T.untyped) }
|
|
170
|
-
|
|
170
|
+
def metadata; end
|
|
171
171
|
|
|
172
172
|
sig { returns(T.untyped) }
|
|
173
|
-
|
|
173
|
+
def columns; end
|
|
174
174
|
|
|
175
175
|
sig { params(enum: T.untyped).void }
|
|
176
176
|
def initialize(enum); end
|
|
@@ -187,7 +187,7 @@ module Altertable
|
|
|
187
187
|
|
|
188
188
|
class AppendRequest < Request
|
|
189
189
|
sig { returns(T.any(T::Hash[T.untyped, T.untyped], T::Array[T::Hash[T.untyped, T.untyped]])) }
|
|
190
|
-
|
|
190
|
+
def payload; end
|
|
191
191
|
|
|
192
192
|
sig { params(payload: T.any(T::Hash[T.untyped, T.untyped], T::Array[T::Hash[T.untyped, T.untyped]])).void }
|
|
193
193
|
def initialize(payload); end
|
|
@@ -198,16 +198,16 @@ module Altertable
|
|
|
198
198
|
|
|
199
199
|
class AppendResponse < Request
|
|
200
200
|
sig { returns(T::Boolean) }
|
|
201
|
-
|
|
201
|
+
def ok; end
|
|
202
202
|
|
|
203
203
|
sig { returns(T.nilable(String)) }
|
|
204
|
-
|
|
204
|
+
def error_code; end
|
|
205
205
|
|
|
206
206
|
sig { returns(T.nilable(String)) }
|
|
207
|
-
|
|
207
|
+
def error_message; end
|
|
208
208
|
|
|
209
209
|
sig { returns(T.nilable(String)) }
|
|
210
|
-
|
|
210
|
+
def task_id; end
|
|
211
211
|
|
|
212
212
|
sig do
|
|
213
213
|
params(
|
|
@@ -219,66 +219,66 @@ module Altertable
|
|
|
219
219
|
end
|
|
220
220
|
def initialize(ok:, error_code: nil, error_message: nil, task_id: nil); end
|
|
221
221
|
|
|
222
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(AppendResponse) }
|
|
222
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::AppendResponse) }
|
|
223
223
|
def self.from_h(h); end
|
|
224
224
|
end
|
|
225
225
|
|
|
226
226
|
class TaskResponse < Request
|
|
227
227
|
sig { returns(String) }
|
|
228
|
-
|
|
228
|
+
def task_id; end
|
|
229
229
|
|
|
230
230
|
sig { returns(String) }
|
|
231
|
-
|
|
231
|
+
def status; end
|
|
232
232
|
|
|
233
233
|
sig { params(task_id: String, status: String).void }
|
|
234
234
|
def initialize(task_id:, status:); end
|
|
235
235
|
|
|
236
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(TaskResponse) }
|
|
236
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::TaskResponse) }
|
|
237
237
|
def self.from_h(h); end
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
class QueryRequest < Request
|
|
241
241
|
sig { returns(String) }
|
|
242
|
-
|
|
242
|
+
def statement; end
|
|
243
243
|
|
|
244
244
|
sig { returns(T.nilable(String)) }
|
|
245
|
-
|
|
245
|
+
def catalog; end
|
|
246
246
|
|
|
247
247
|
sig { returns(T.nilable(String)) }
|
|
248
|
-
|
|
248
|
+
def schema; end
|
|
249
249
|
|
|
250
250
|
sig { returns(T.nilable(String)) }
|
|
251
|
-
|
|
251
|
+
def session_id; end
|
|
252
252
|
|
|
253
253
|
sig { returns(T.nilable(String)) }
|
|
254
|
-
|
|
254
|
+
def compute_size; end
|
|
255
255
|
|
|
256
256
|
sig { returns(T.nilable(T::Boolean)) }
|
|
257
|
-
|
|
257
|
+
def sanitize; end
|
|
258
258
|
|
|
259
259
|
sig { returns(T.nilable(Integer)) }
|
|
260
|
-
|
|
260
|
+
def limit; end
|
|
261
261
|
|
|
262
262
|
sig { returns(T.nilable(Integer)) }
|
|
263
|
-
|
|
263
|
+
def offset; end
|
|
264
264
|
|
|
265
265
|
sig { returns(T.nilable(String)) }
|
|
266
|
-
|
|
266
|
+
def timezone; end
|
|
267
267
|
|
|
268
268
|
sig { returns(T.nilable(T::Boolean)) }
|
|
269
|
-
|
|
269
|
+
def ephemeral; end
|
|
270
270
|
|
|
271
271
|
sig { returns(T.nilable(T::Boolean)) }
|
|
272
|
-
|
|
272
|
+
def visible; end
|
|
273
273
|
|
|
274
274
|
sig { returns(T.nilable(String)) }
|
|
275
|
-
|
|
275
|
+
def requested_by; end
|
|
276
276
|
|
|
277
277
|
sig { returns(T.nilable(String)) }
|
|
278
|
-
|
|
278
|
+
def query_id; end
|
|
279
279
|
|
|
280
280
|
sig { returns(T.nilable(T::Boolean)) }
|
|
281
|
-
|
|
281
|
+
def cache; end
|
|
282
282
|
|
|
283
283
|
sig do
|
|
284
284
|
params(
|
|
@@ -306,16 +306,16 @@ module Altertable
|
|
|
306
306
|
|
|
307
307
|
class ValidateRequest < Request
|
|
308
308
|
sig { returns(String) }
|
|
309
|
-
|
|
309
|
+
def statement; end
|
|
310
310
|
|
|
311
311
|
sig { returns(T.nilable(String)) }
|
|
312
|
-
|
|
312
|
+
def catalog; end
|
|
313
313
|
|
|
314
314
|
sig { returns(T.nilable(String)) }
|
|
315
|
-
|
|
315
|
+
def schema; end
|
|
316
316
|
|
|
317
317
|
sig { returns(T.nilable(String)) }
|
|
318
|
-
|
|
318
|
+
def session_id; end
|
|
319
319
|
|
|
320
320
|
sig do
|
|
321
321
|
params(
|
|
@@ -333,16 +333,16 @@ module Altertable
|
|
|
333
333
|
|
|
334
334
|
class ValidateResponse < Request
|
|
335
335
|
sig { returns(T::Boolean) }
|
|
336
|
-
|
|
336
|
+
def valid; end
|
|
337
337
|
|
|
338
338
|
sig { returns(String) }
|
|
339
|
-
|
|
339
|
+
def statement; end
|
|
340
340
|
|
|
341
341
|
sig { returns(T.untyped) }
|
|
342
|
-
|
|
342
|
+
def connections_errors; end
|
|
343
343
|
|
|
344
344
|
sig { returns(T.untyped) }
|
|
345
|
-
|
|
345
|
+
def error; end
|
|
346
346
|
|
|
347
347
|
sig do
|
|
348
348
|
params(
|
|
@@ -354,49 +354,49 @@ module Altertable
|
|
|
354
354
|
end
|
|
355
355
|
def initialize(valid:, statement:, connections_errors: nil, error: nil); end
|
|
356
356
|
|
|
357
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(ValidateResponse) }
|
|
357
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::ValidateResponse) }
|
|
358
358
|
def self.from_h(h); end
|
|
359
359
|
end
|
|
360
360
|
|
|
361
361
|
class QueryLogResponse < Request
|
|
362
362
|
sig { returns(String) }
|
|
363
|
-
|
|
363
|
+
def uuid; end
|
|
364
364
|
|
|
365
365
|
sig { returns(String) }
|
|
366
|
-
|
|
366
|
+
def start_time; end
|
|
367
367
|
|
|
368
368
|
sig { returns(String) }
|
|
369
|
-
|
|
369
|
+
def end_time; end
|
|
370
370
|
|
|
371
371
|
sig { returns(Integer) }
|
|
372
|
-
|
|
372
|
+
def duration_ms; end
|
|
373
373
|
|
|
374
374
|
sig { returns(String) }
|
|
375
|
-
|
|
375
|
+
def query; end
|
|
376
376
|
|
|
377
377
|
sig { returns(String) }
|
|
378
|
-
|
|
378
|
+
def session_id; end
|
|
379
379
|
|
|
380
380
|
sig { returns(String) }
|
|
381
|
-
|
|
381
|
+
def client_interface; end
|
|
382
382
|
|
|
383
383
|
sig { returns(T.untyped) }
|
|
384
|
-
|
|
384
|
+
def error; end
|
|
385
385
|
|
|
386
386
|
sig { returns(T.untyped) }
|
|
387
|
-
|
|
387
|
+
def stats; end
|
|
388
388
|
|
|
389
389
|
sig { returns(T.untyped) }
|
|
390
|
-
|
|
390
|
+
def progress; end
|
|
391
391
|
|
|
392
392
|
sig { returns(T::Boolean) }
|
|
393
|
-
|
|
393
|
+
def visible; end
|
|
394
394
|
|
|
395
395
|
sig { returns(String) }
|
|
396
|
-
|
|
396
|
+
def requested_by; end
|
|
397
397
|
|
|
398
398
|
sig { returns(String) }
|
|
399
|
-
|
|
399
|
+
def user_agent; end
|
|
400
400
|
|
|
401
401
|
sig do
|
|
402
402
|
params(
|
|
@@ -417,39 +417,39 @@ module Altertable
|
|
|
417
417
|
end
|
|
418
418
|
def initialize(uuid:, start_time:, end_time:, duration_ms:, query:, session_id:, client_interface:, error:, stats:, progress:, visible:, requested_by:, user_agent:); end
|
|
419
419
|
|
|
420
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(QueryLogResponse) }
|
|
420
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::QueryLogResponse) }
|
|
421
421
|
def self.from_h(h); end
|
|
422
422
|
end
|
|
423
423
|
|
|
424
424
|
class CancelQueryResponse < Request
|
|
425
425
|
sig { returns(T::Boolean) }
|
|
426
|
-
|
|
426
|
+
def cancelled; end
|
|
427
427
|
|
|
428
428
|
sig { returns(String) }
|
|
429
|
-
|
|
429
|
+
def message; end
|
|
430
430
|
|
|
431
431
|
sig { params(cancelled: T::Boolean, message: String).void }
|
|
432
432
|
def initialize(cancelled:, message:); end
|
|
433
433
|
|
|
434
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(CancelQueryResponse) }
|
|
434
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::CancelQueryResponse) }
|
|
435
435
|
def self.from_h(h); end
|
|
436
436
|
end
|
|
437
437
|
|
|
438
438
|
class AutocompleteRequest < Request
|
|
439
439
|
sig { returns(String) }
|
|
440
|
-
|
|
440
|
+
def statement; end
|
|
441
441
|
|
|
442
442
|
sig { returns(T.nilable(String)) }
|
|
443
|
-
|
|
443
|
+
def catalog; end
|
|
444
444
|
|
|
445
445
|
sig { returns(T.nilable(String)) }
|
|
446
|
-
|
|
446
|
+
def schema; end
|
|
447
447
|
|
|
448
448
|
sig { returns(T.nilable(String)) }
|
|
449
|
-
|
|
449
|
+
def session_id; end
|
|
450
450
|
|
|
451
451
|
sig { returns(T.nilable(Integer)) }
|
|
452
|
-
|
|
452
|
+
def max_suggestions; end
|
|
453
453
|
|
|
454
454
|
sig do
|
|
455
455
|
params(
|
|
@@ -468,19 +468,19 @@ module Altertable
|
|
|
468
468
|
|
|
469
469
|
class AutocompleteSuggestion < Request
|
|
470
470
|
sig { returns(String) }
|
|
471
|
-
|
|
471
|
+
def suggestion; end
|
|
472
472
|
|
|
473
473
|
sig { returns(Integer) }
|
|
474
|
-
|
|
474
|
+
def suggestion_start; end
|
|
475
475
|
|
|
476
476
|
sig { returns(String) }
|
|
477
|
-
|
|
477
|
+
def suggestion_type; end
|
|
478
478
|
|
|
479
479
|
sig { returns(T.any(Integer, Float)) }
|
|
480
|
-
|
|
480
|
+
def suggestion_score; end
|
|
481
481
|
|
|
482
482
|
sig { returns(T.nilable(String)) }
|
|
483
|
-
|
|
483
|
+
def extra_char; end
|
|
484
484
|
|
|
485
485
|
sig do
|
|
486
486
|
params(
|
|
@@ -493,19 +493,19 @@ module Altertable
|
|
|
493
493
|
end
|
|
494
494
|
def initialize(suggestion:, suggestion_start:, suggestion_type:, suggestion_score:, extra_char: nil); end
|
|
495
495
|
|
|
496
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(AutocompleteSuggestion) }
|
|
496
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::AutocompleteSuggestion) }
|
|
497
497
|
def self.from_h(h); end
|
|
498
498
|
end
|
|
499
499
|
|
|
500
500
|
class AutocompleteResponse < Request
|
|
501
501
|
sig { returns(T::Array[AutocompleteSuggestion]) }
|
|
502
|
-
|
|
502
|
+
def suggestions; end
|
|
503
503
|
|
|
504
504
|
sig { returns(String) }
|
|
505
|
-
|
|
505
|
+
def statement; end
|
|
506
506
|
|
|
507
507
|
sig { returns(T::Hash[T.untyped, T.untyped]) }
|
|
508
|
-
|
|
508
|
+
def connections_errors; end
|
|
509
509
|
|
|
510
510
|
sig do
|
|
511
511
|
params(
|
|
@@ -516,25 +516,25 @@ module Altertable
|
|
|
516
516
|
end
|
|
517
517
|
def initialize(suggestions:, statement:, connections_errors:); end
|
|
518
518
|
|
|
519
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(AutocompleteResponse) }
|
|
519
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::AutocompleteResponse) }
|
|
520
520
|
def self.from_h(h); end
|
|
521
521
|
end
|
|
522
522
|
|
|
523
523
|
class ExplainRequest < Request
|
|
524
524
|
sig { returns(String) }
|
|
525
|
-
|
|
525
|
+
def statement; end
|
|
526
526
|
|
|
527
527
|
sig { returns(T.nilable(String)) }
|
|
528
|
-
|
|
528
|
+
def catalog; end
|
|
529
529
|
|
|
530
530
|
sig { returns(T.nilable(String)) }
|
|
531
|
-
|
|
531
|
+
def schema; end
|
|
532
532
|
|
|
533
533
|
sig { returns(T.nilable(String)) }
|
|
534
|
-
|
|
534
|
+
def session_id; end
|
|
535
535
|
|
|
536
536
|
sig { returns(T.nilable(T::Boolean)) }
|
|
537
|
-
|
|
537
|
+
def include_plan; end
|
|
538
538
|
|
|
539
539
|
sig do
|
|
540
540
|
params(
|
|
@@ -553,25 +553,25 @@ module Altertable
|
|
|
553
553
|
|
|
554
554
|
class TableScanEstimate < Request
|
|
555
555
|
sig { returns(String) }
|
|
556
|
-
|
|
556
|
+
def table_name; end
|
|
557
557
|
|
|
558
558
|
sig { returns(Integer) }
|
|
559
|
-
|
|
559
|
+
def estimated_rows; end
|
|
560
560
|
|
|
561
561
|
sig { returns(T.nilable(String)) }
|
|
562
|
-
|
|
562
|
+
def filters; end
|
|
563
563
|
|
|
564
564
|
sig { returns(T.nilable(Integer)) }
|
|
565
|
-
|
|
565
|
+
def scanned_bytes_estimate; end
|
|
566
566
|
|
|
567
567
|
sig { returns(T.nilable(Integer)) }
|
|
568
|
-
|
|
568
|
+
def scanned_files_estimate; end
|
|
569
569
|
|
|
570
570
|
sig { returns(T.nilable(Integer)) }
|
|
571
|
-
|
|
571
|
+
def total_bytes; end
|
|
572
572
|
|
|
573
573
|
sig { returns(T.nilable(Integer)) }
|
|
574
|
-
|
|
574
|
+
def total_files; end
|
|
575
575
|
|
|
576
576
|
sig do
|
|
577
577
|
params(
|
|
@@ -585,43 +585,43 @@ module Altertable
|
|
|
585
585
|
).void
|
|
586
586
|
end
|
|
587
587
|
def initialize(table_name:, estimated_rows:, filters: nil, scanned_bytes_estimate: nil,
|
|
588
|
-
scanned_files_estimate: nil, total_bytes: nil, total_files: nil)
|
|
589
|
-
|
|
590
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(TableScanEstimate) }
|
|
588
|
+
scanned_files_estimate: nil, total_bytes: nil, total_files: nil)
|
|
589
|
+
end
|
|
590
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::TableScanEstimate) }
|
|
591
591
|
def self.from_h(h); end
|
|
592
592
|
end
|
|
593
593
|
|
|
594
594
|
class ExplainResponse < Request
|
|
595
|
-
sig { returns(T::Array[TableScanEstimate]) }
|
|
596
|
-
|
|
595
|
+
sig { returns(T::Array[::Altertable::Lakehouse::Models::TableScanEstimate]) }
|
|
596
|
+
def tables; end
|
|
597
597
|
|
|
598
598
|
sig { returns(String) }
|
|
599
|
-
|
|
599
|
+
def statement; end
|
|
600
600
|
|
|
601
601
|
sig { returns(T::Hash[T.untyped, T.untyped]) }
|
|
602
|
-
|
|
602
|
+
def connections_errors; end
|
|
603
603
|
|
|
604
604
|
sig { returns(T.nilable(String)) }
|
|
605
|
-
|
|
605
|
+
def error; end
|
|
606
606
|
|
|
607
607
|
sig { returns(T.untyped) }
|
|
608
|
-
|
|
608
|
+
def plan; end
|
|
609
609
|
|
|
610
610
|
sig { returns(T.nilable(Integer)) }
|
|
611
|
-
|
|
611
|
+
def scanned_bytes_estimate; end
|
|
612
612
|
|
|
613
613
|
sig { returns(T.nilable(Integer)) }
|
|
614
|
-
|
|
614
|
+
def scanned_files_estimate; end
|
|
615
615
|
|
|
616
616
|
sig { returns(T.nilable(Integer)) }
|
|
617
|
-
|
|
617
|
+
def total_bytes; end
|
|
618
618
|
|
|
619
619
|
sig { returns(T.nilable(Integer)) }
|
|
620
|
-
|
|
620
|
+
def total_files; end
|
|
621
621
|
|
|
622
622
|
sig do
|
|
623
623
|
params(
|
|
624
|
-
tables: T::Array[TableScanEstimate],
|
|
624
|
+
tables: T::Array[::Altertable::Lakehouse::Models::TableScanEstimate],
|
|
625
625
|
statement: String,
|
|
626
626
|
connections_errors: T::Hash[T.untyped, T.untyped],
|
|
627
627
|
error: T.nilable(String),
|
|
@@ -634,9 +634,9 @@ module Altertable
|
|
|
634
634
|
end
|
|
635
635
|
def initialize(tables:, statement:, connections_errors:, error: nil, plan: nil,
|
|
636
636
|
scanned_bytes_estimate: nil, scanned_files_estimate: nil,
|
|
637
|
-
total_bytes: nil, total_files: nil)
|
|
638
|
-
|
|
639
|
-
sig { params(h: T::Hash[String, T.untyped]).returns(ExplainResponse) }
|
|
637
|
+
total_bytes: nil, total_files: nil)
|
|
638
|
+
end
|
|
639
|
+
sig { params(h: T::Hash[String, T.untyped]).returns(::Altertable::Lakehouse::Models::ExplainResponse) }
|
|
640
640
|
def self.from_h(h); end
|
|
641
641
|
end
|
|
642
642
|
end
|
|
@@ -644,13 +644,13 @@ module Altertable
|
|
|
644
644
|
module Adapters
|
|
645
645
|
class Response
|
|
646
646
|
sig { returns(Integer) }
|
|
647
|
-
|
|
647
|
+
def status; end
|
|
648
648
|
|
|
649
649
|
sig { returns(T.nilable(String)) }
|
|
650
|
-
|
|
650
|
+
def body; end
|
|
651
651
|
|
|
652
652
|
sig { returns(T::Hash[String, T.untyped]) }
|
|
653
|
-
|
|
653
|
+
def headers; end
|
|
654
654
|
|
|
655
655
|
sig { params(status: Integer, body: T.nilable(String), headers: T::Hash[String, T.untyped]).void }
|
|
656
656
|
def initialize(status, body = nil, headers = {}); end
|
|
@@ -667,7 +667,7 @@ module Altertable
|
|
|
667
667
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
668
668
|
headers: T::Hash[String, String],
|
|
669
669
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
670
|
-
).returns(Response)
|
|
670
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
671
671
|
end
|
|
672
672
|
def get(path, body: nil, params: {}, headers: {}, &block); end
|
|
673
673
|
|
|
@@ -678,7 +678,7 @@ module Altertable
|
|
|
678
678
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
679
679
|
headers: T::Hash[String, String],
|
|
680
680
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
681
|
-
).returns(Response)
|
|
681
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
682
682
|
end
|
|
683
683
|
def post(path, body: nil, params: {}, headers: {}, &block); end
|
|
684
684
|
|
|
@@ -689,7 +689,7 @@ module Altertable
|
|
|
689
689
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
690
690
|
headers: T::Hash[String, String],
|
|
691
691
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
692
|
-
).returns(Response)
|
|
692
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
693
693
|
end
|
|
694
694
|
def delete(path, body: nil, params: {}, headers: {}, &block); end
|
|
695
695
|
end
|
|
@@ -705,7 +705,7 @@ module Altertable
|
|
|
705
705
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
706
706
|
headers: T::Hash[String, String],
|
|
707
707
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
708
|
-
).returns(Response)
|
|
708
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
709
709
|
end
|
|
710
710
|
def get(path, body: nil, params: {}, headers: {}, &block); end
|
|
711
711
|
|
|
@@ -716,7 +716,7 @@ module Altertable
|
|
|
716
716
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
717
717
|
headers: T::Hash[String, String],
|
|
718
718
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
719
|
-
).returns(Response)
|
|
719
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
720
720
|
end
|
|
721
721
|
def post(path, body: nil, params: {}, headers: {}, &block); end
|
|
722
722
|
|
|
@@ -727,7 +727,7 @@ module Altertable
|
|
|
727
727
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
728
728
|
headers: T::Hash[String, String],
|
|
729
729
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
730
|
-
).returns(Response)
|
|
730
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
731
731
|
end
|
|
732
732
|
def delete(path, body: nil, params: {}, headers: {}, &block); end
|
|
733
733
|
|
|
@@ -748,7 +748,7 @@ module Altertable
|
|
|
748
748
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
749
749
|
headers: T::Hash[String, String],
|
|
750
750
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
751
|
-
).returns(Response)
|
|
751
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
752
752
|
end
|
|
753
753
|
def get(path, body: nil, params: {}, headers: {}, &block); end
|
|
754
754
|
|
|
@@ -759,7 +759,7 @@ module Altertable
|
|
|
759
759
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
760
760
|
headers: T::Hash[String, String],
|
|
761
761
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
762
|
-
).returns(Response)
|
|
762
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
763
763
|
end
|
|
764
764
|
def post(path, body: nil, params: {}, headers: {}, &block); end
|
|
765
765
|
|
|
@@ -813,7 +813,7 @@ module Altertable
|
|
|
813
813
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
814
814
|
headers: T::Hash[String, String],
|
|
815
815
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
816
|
-
).returns(Response)
|
|
816
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
817
817
|
end
|
|
818
818
|
def delete(path, body: nil, params: {}, headers: {}, &block); end
|
|
819
819
|
|
|
@@ -827,7 +827,7 @@ module Altertable
|
|
|
827
827
|
params: T::Hash[T.any(Symbol, String), T.untyped],
|
|
828
828
|
headers: T::Hash[String, String],
|
|
829
829
|
block: T.nilable(T.proc.params(arg0: T.untyped, arg1: T.untyped).void)
|
|
830
|
-
).returns(Response)
|
|
830
|
+
).returns(::Altertable::Lakehouse::Adapters::Response)
|
|
831
831
|
end
|
|
832
832
|
def request(klass, path, body: nil, params: {}, headers: {}, &block); end
|
|
833
833
|
end
|