|
16 | 16 | from functools import partial |
17 | 17 |
|
18 | 18 | from .. import opcodes |
19 | | -from ..core import ENTITY_TYPE, TILEABLE_TYPE, ChunkData |
| 19 | +from ..core import ENTITY_TYPE, ChunkData |
20 | 20 | from ..core.custom_log import redirect_custom_log |
21 | 21 | from ..core.operand import ObjectOperand |
22 | 22 | from ..dataframe.core import DATAFRAME_TYPE, SERIES_TYPE, INDEX_TYPE |
|
33 | 33 | enter_current_session, |
34 | 34 | find_objects, |
35 | 35 | replace_objects, |
36 | | - get_chunk_params, |
37 | 36 | ) |
38 | 37 | from .operands import RemoteOperandMixin |
39 | 38 |
|
@@ -185,17 +184,6 @@ def execute(cls, ctx, op: "RemoteFunction"): |
185 | 184 | for inp, is_pure_dep in zip(op.inputs, op.pure_depends) |
186 | 185 | if not is_pure_dep |
187 | 186 | } |
188 | | - for to_search in [op.function_args, op.function_kwargs]: |
189 | | - tileables = find_objects(to_search, TILEABLE_TYPE) |
190 | | - for tileable in tileables: |
191 | | - chunks = tileable.chunks |
192 | | - fields = get_chunk_params(chunks[0]).keys() |
193 | | - metas = ctx.get_chunks_meta( |
194 | | - [chunk.key for chunk in chunks], fields=fields |
195 | | - ) |
196 | | - for chunk, meta in zip(chunks, metas): |
197 | | - chunk.params = {field: meta[field] for field in fields} |
198 | | - tileable.refresh_params() |
199 | 187 |
|
200 | 188 | function = op.function |
201 | 189 | function_args = replace_objects(op.function_args, mapping) |
|
0 commit comments