chtypes 2.0.0.dev7__py3-none-any.whl → 2.0.0.dev8__py3-none-any.whl
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.
- chtypes/_decode.py +7 -1
- {chtypes-2.0.0.dev7.dist-info → chtypes-2.0.0.dev8.dist-info}/METADATA +1 -1
- {chtypes-2.0.0.dev7.dist-info → chtypes-2.0.0.dev8.dist-info}/RECORD +6 -6
- {chtypes-2.0.0.dev7.dist-info → chtypes-2.0.0.dev8.dist-info}/WHEEL +0 -0
- {chtypes-2.0.0.dev7.dist-info → chtypes-2.0.0.dev8.dist-info}/entry_points.txt +0 -0
- {chtypes-2.0.0.dev7.dist-info → chtypes-2.0.0.dev8.dist-info}/licenses/LICENSE +0 -0
chtypes/_decode.py
CHANGED
|
@@ -428,6 +428,12 @@ def decode_batch(raw: bytes, export: bytes | None) -> BatchResult:
|
|
|
428
428
|
framing = obj.get("framing")
|
|
429
429
|
engine_rows = None if obj.get("engine_rows") is None else _engine_rows(obj, where)
|
|
430
430
|
spans = None if obj.get("row_spans") is None else _spans(obj, "row_spans", where)
|
|
431
|
+
export_declined = _bytes(obj, "export_declined", where)
|
|
432
|
+
if export_declined:
|
|
433
|
+
# A declined export has no payload and no spans, whatever buffer the call
|
|
434
|
+
# returned: the library may hand back a zero-length one, so the document's
|
|
435
|
+
# export_declined decides, never the buffer's length.
|
|
436
|
+
export, spans = None, None
|
|
431
437
|
return BatchResult(
|
|
432
438
|
outcome=Outcome.of(_text(obj, "outcome", where)),
|
|
433
439
|
err_code=_int(obj, "code", where),
|
|
@@ -439,7 +445,7 @@ def decode_batch(raw: bytes, export: bytes | None) -> BatchResult:
|
|
|
439
445
|
engine_rows=engine_rows,
|
|
440
446
|
payload=export,
|
|
441
447
|
spans=spans,
|
|
442
|
-
export_declined=
|
|
448
|
+
export_declined=export_declined,
|
|
443
449
|
rows_passed=_u64(obj, "rows_passed", where),
|
|
444
450
|
rows_cut=_u64(obj, "rows_cut", where),
|
|
445
451
|
partition_count=_opt_u64(obj, "partition_count", where),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: chtypes
|
|
3
|
-
Version: 2.0.0.
|
|
3
|
+
Version: 2.0.0.dev8
|
|
4
4
|
Summary: Python binding for the chtypes artifacts: ClickHouse's own type system, per version, behind the frozen chs_* C ABI
|
|
5
5
|
Project-URL: Homepage, https://github.com/wave-rf/chtypes
|
|
6
6
|
Project-URL: Repository, https://github.com/wave-rf/chtypes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
chtypes/__init__.py,sha256=nYd9hTbAU8ffzVj5mYqUAEWxzfYg-67zW_h0j5XasMA,6187
|
|
2
2
|
chtypes/__main__.py,sha256=mrpF3Cf0_l-ODhqVzrN8JwwjG64glJ__Soehs6-ALu8,18081
|
|
3
3
|
chtypes/_codes.py,sha256=yiLLEiJDJ20WseyFZE1VzlqSiL9J8GC8JMj8tKXCZss,1238
|
|
4
|
-
chtypes/_decode.py,sha256=
|
|
4
|
+
chtypes/_decode.py,sha256=NV5IgBsAJuEqYD5u2SBZIlDSQnAe4t_ckSBRAG0x1jM,23208
|
|
5
5
|
chtypes/_ed25519.py,sha256=uwaAKWvgoc936e1ZfgLrtR47W87WWCL541kFaqBXrB0,4141
|
|
6
6
|
chtypes/_guard.py,sha256=kVgvxRWu7H-eba3hTqPBmpqjxOCWdQGwiFAHvSnl1OU,1996
|
|
7
7
|
chtypes/_input.py,sha256=VBNIUeDSEsq6EvgFW63UJt0kyAOSYJpb1nQOXvUQbOI,6031
|
|
@@ -35,8 +35,8 @@ chtypes/_ocifetch/_referrers.py,sha256=J2b4gN6vryz_IzYHxrd2Tp-tQO9Cz766rZtKgCVcK
|
|
|
35
35
|
chtypes/_ocifetch/_resolve.py,sha256=Qv8xFUdOR-Kb_JqmUeDiQ4_Xv2ETuNFpmoDckMp7eV8,11239
|
|
36
36
|
chtypes/_ocifetch/_retired.py,sha256=MQ6nbWLJw50IZYY1VfM6AiCZ4BySK0GVkGVOtAXaq3Y,3060
|
|
37
37
|
chtypes/_ocifetch/_unpack.py,sha256=Cn4-up63KL63L8pnkS5zwJ6VbbHPSigpCnmOdcHJ4RI,5609
|
|
38
|
-
chtypes-2.0.0.
|
|
39
|
-
chtypes-2.0.0.
|
|
40
|
-
chtypes-2.0.0.
|
|
41
|
-
chtypes-2.0.0.
|
|
42
|
-
chtypes-2.0.0.
|
|
38
|
+
chtypes-2.0.0.dev8.dist-info/METADATA,sha256=IySGKPKxLdX-9HnkivYd1uK7-qQdwylgbljzw7XyNCs,11315
|
|
39
|
+
chtypes-2.0.0.dev8.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
40
|
+
chtypes-2.0.0.dev8.dist-info/entry_points.txt,sha256=TdNcluWBR0VOt5mVFROsp-NiVPAdR3EHo0UsHlMC0r0,50
|
|
41
|
+
chtypes-2.0.0.dev8.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
42
|
+
chtypes-2.0.0.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|