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
Hello Everyone! The Question About Dataset.Squash(). The Squash Operation Copies All The Data And Is No Longer Linked To Previous Commits? I Thought This Operation Is Like Git Squash But It Seems To Me That Clearml Dataset.Squash() Create Just A Copy Of S

Hello everyone!
The question about Dataset.squash(). The Squash operation copies all the data and is no longer linked to previous commits? I thought this operation is like git squash but it seems to me that clearml dataset.squash() create just a copy of specified parents and merge them into single dataset.

  
  
Posted 9 months ago
Votes Newest

Answers 2


Hi

The Squash operation copies all the data and is no longer linked to previous commits?

Yes, basically the idea is if you have data version that relies on many parents that needs to be merged, the squash will create a merged copy and push it all as a single version, and then yes the parent versions are no longer needed

I thought this operation is like git squash but it seems to me

yeah... we did not want to actually delete the parents because unlike git, the operation is done on the remote head, so imagine the horror of mistakenly loosing all the data/versions by mistake.
Basically we left it to the user to delete the parent versions.
Make sense ?

  
  
Posted 9 months ago

@<1523701205467926528:profile|AgitatedDove14> Thanks for the answer! That's what I need

  
  
Posted 9 months ago
735 Views
2 Answers
9 months ago
9 months ago
Tags