Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
When I Pass Invalid Key To

When I pass invalid key to task_overrides parameter in PipelineController.add_step method, it fails but with COMPLETED status

  
  
Posted 2 years ago
Votes Newest

Answers 13


But in the same time, it contains some keys that cannot be modified with task_overrides , for example project_name

  
  
Posted 2 years ago

You should add the wrong key to task_overrides , not the wrong parameter to add_step

  
  
Posted 2 years ago

if fails during 

add_step

 stage for the very first step, because 

task_overrides

 contains invalid keys

I see, yes I guess it it makes sense to mark the pipeline as Failed 🙂
Could you add a GitHub issue on this behavior, so we do not miss it ?

  
  
Posted 2 years ago

For example, export_data returns task configuration that contains many keys that can be modified with task_overrides

  
  
Posted 2 years ago

but at that point it hadn't actually added any steps. Maybe failed pipelines with zero steps count as completed

  
  
Posted 2 years ago

if fails during add_step stage for the very first step, because task_overrides contains invalid keys

  
  
Posted 2 years ago

Issue Verified, thanks!

  
  
Posted 2 years ago

it fails but with COMPLETED status

Which Task is marked "completed" the pipeline Task or the Step ?

  
  
Posted 2 years ago

image

  
  
Posted 2 years ago

try add_step(..., task_overrides={'project_name': 'my-awesome-project', ...})

  
  
Posted 2 years ago

How do I reproduce it? When I use add_step with the wrong parameter it throws an exception before the pipeline even starts ...

  
  
Posted 2 years ago

the pipeline

  
  
Posted 2 years ago

Maybe failed pipelines with zero steps count as completed

zero steps counts as successful.
That said, how could it have zero steps if one of the steps failed? no?

  
  
Posted 2 years ago
653 Views
13 Answers
2 years ago
3 months ago
Tags