quick-lighter-52296
06/05/2023, 8:27 AMContainerOverrides object. I have noticed that earlier you guys attempted to patch it up by compressing the amount of information metaflow sends compulsorily, but another case where this limit is breached is if the user input itself is large enough. In our case we stumbled upon this issue when we started use a json payload which can a couple of KBs large sometimes. This combined with information that metaflow already attaches makes the ContainerOverride object again exceed the hard 8192 limit 😕 As a short term workaround we are exploring passing input params through a persistent storage like s3/dynamo but I am just wondering if this is something metaflow team would consider supporting natively? So a blob-like or json-like input param type that is passed through a dynamodb/s3 layer implementaiton-wise. Perhaps then, in fact, all payloads can be passed as such uplifting this restriction forever?quick-lighter-52296
06/05/2023, 8:31 AMquick-lighter-52296
06/05/2023, 11:43 AM_parameters object and then actual python steps can just read this file (which they already do via input_paths). By an additional “step” I don’t mean the step in the metaflow sense, but a step function “state” which directly calls s3 apis (i.e. not an ECS task otherwise there’s the same problem).quick-lighter-52296
06/05/2023, 11:45 AMancient-application-36103
06/05/2023, 3:11 PMIncludeFile for your parameters - https://docs.metaflow.org/scaling/data#data-in-local-filesancient-application-36103
06/05/2023, 3:15 PMancient-application-36103
06/05/2023, 3:17 PM_parameters task that you have correctly identified, but using IncludeFile will signal to Metaflow that the parameter object needs to be read from s3.quick-lighter-52296
06/06/2023, 5:07 AMbut passing parameters from the user console to step functions?Yes. More specifically, translating step functions input to ECS task definition that is used to run the step. The resulting task definition embeds the entire input in the environment variables (for at least the
start step) which can result in breaching the 8192 character limit. The workaround could be that we have a non-metaflow step even before the start step that saves the step functions input to a well-known s3 file that could be then read by the start step.
I wasn’t aware about IncludeFile primitive, that looks neat for my short term needs, I”ll try that out, thanks!quick-lighter-52296
06/06/2023, 6:32 AM