datachain 0.37.3__py3-none-any.whl → 0.37.5__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.
Potentially problematic release.
This version of datachain might be problematic. Click here for more details.
- datachain/query/dataset.py +4 -9
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/METADATA +1 -1
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/RECORD +7 -7
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/WHEEL +0 -0
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/entry_points.txt +0 -0
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/licenses/LICENSE +0 -0
- {datachain-0.37.3.dist-info → datachain-0.37.5.dist-info}/top_level.txt +0 -0
datachain/query/dataset.py
CHANGED
|
@@ -426,8 +426,10 @@ class UDFStep(Step, ABC):
|
|
|
426
426
|
"""Method that creates a table where temp udf results will be saved"""
|
|
427
427
|
|
|
428
428
|
def process_input_query(self, query: Select) -> tuple[Select, list["Table"]]:
|
|
429
|
-
"""
|
|
430
|
-
|
|
429
|
+
"""Materialize inputs, ensure sys columns are available, needed for checkpoints,
|
|
430
|
+
needed for map to work (merge results)"""
|
|
431
|
+
table = self.catalog.warehouse.create_pre_udf_table(query)
|
|
432
|
+
return sqlalchemy.select(*table.c), [table]
|
|
431
433
|
|
|
432
434
|
@abstractmethod
|
|
433
435
|
def create_result_query(
|
|
@@ -675,13 +677,6 @@ class UDFSignal(UDFStep):
|
|
|
675
677
|
|
|
676
678
|
return self.catalog.warehouse.create_udf_table(udf_output_columns)
|
|
677
679
|
|
|
678
|
-
def process_input_query(self, query: Select) -> tuple[Select, list["Table"]]:
|
|
679
|
-
if os.getenv("DATACHAIN_DISABLE_QUERY_CACHE", "") not in ("", "0"):
|
|
680
|
-
return query, []
|
|
681
|
-
table = self.catalog.warehouse.create_pre_udf_table(query)
|
|
682
|
-
q: Select = sqlalchemy.select(*table.c)
|
|
683
|
-
return q, [table]
|
|
684
|
-
|
|
685
680
|
def create_result_query(
|
|
686
681
|
self, udf_table, query
|
|
687
682
|
) -> tuple[QueryGeneratorFunc, list["sqlalchemy.Column"]]:
|
|
@@ -132,7 +132,7 @@ datachain/model/ultralytics/pose.py,sha256=pvoXrWWUSWT_UBaMwUb5MBHAY57Co2HFDPigF
|
|
|
132
132
|
datachain/model/ultralytics/segment.py,sha256=v9_xDxd5zw_I8rXsbl7yQXgEdTs2T38zyY_Y4XGN8ok,3194
|
|
133
133
|
datachain/query/__init__.py,sha256=7DhEIjAA8uZJfejruAVMZVcGFmvUpffuZJwgRqNwe-c,263
|
|
134
134
|
datachain/query/batch.py,sha256=ugTlSFqh_kxMcG6vJ5XrEzG9jBXRdb7KRAEEsFWiPew,4190
|
|
135
|
-
datachain/query/dataset.py,sha256=
|
|
135
|
+
datachain/query/dataset.py,sha256=5r7atEt1pTsH8PHKaahKvXEG2zf8L8ZId-rWnbpa6KM,67367
|
|
136
136
|
datachain/query/dispatch.py,sha256=Tg73zB6vDnYYYAvtlS9l7BI3sI1EfRCbDjiasvNxz2s,16385
|
|
137
137
|
datachain/query/metrics.py,sha256=qOMHiYPTMtVs2zI-mUSy8OPAVwrg4oJtVF85B9tdQyM,810
|
|
138
138
|
datachain/query/params.py,sha256=JkVz6IKUIpF58JZRkUXFT8DAHX2yfaULbhVaGmHKFLc,826
|
|
@@ -165,9 +165,9 @@ datachain/sql/sqlite/vector.py,sha256=ncW4eu2FlJhrP_CIpsvtkUabZlQdl2D5Lgwy_cbfqR
|
|
|
165
165
|
datachain/toolkit/__init__.py,sha256=eQ58Q5Yf_Fgv1ZG0IO5dpB4jmP90rk8YxUWmPc1M2Bo,68
|
|
166
166
|
datachain/toolkit/split.py,sha256=xQzzmvQRKsPteDKbpgOxd4r971BnFaK33mcOl0FuGeI,2883
|
|
167
167
|
datachain/torch/__init__.py,sha256=gIS74PoEPy4TB3X6vx9nLO0Y3sLJzsA8ckn8pRWihJM,579
|
|
168
|
-
datachain-0.37.
|
|
169
|
-
datachain-0.37.
|
|
170
|
-
datachain-0.37.
|
|
171
|
-
datachain-0.37.
|
|
172
|
-
datachain-0.37.
|
|
173
|
-
datachain-0.37.
|
|
168
|
+
datachain-0.37.5.dist-info/licenses/LICENSE,sha256=8DnqK5yoPI_E50bEg_zsHKZHY2HqPy4rYN338BHQaRA,11344
|
|
169
|
+
datachain-0.37.5.dist-info/METADATA,sha256=xBtVsgQ5arecWHTP80Cfa2iAIYyaIgMecBIBqv2bH4M,13762
|
|
170
|
+
datachain-0.37.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
171
|
+
datachain-0.37.5.dist-info/entry_points.txt,sha256=0GMJS6B_KWq0m3VT98vQI2YZodAMkn4uReZ_okga9R4,49
|
|
172
|
+
datachain-0.37.5.dist-info/top_level.txt,sha256=lZPpdU_2jJABLNIg2kvEOBi8PtsYikbN1OdMLHk8bTg,10
|
|
173
|
+
datachain-0.37.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|