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! I Quite Confuse About Update Data Using Sdk Without Download It. First I Create Dataset And Upload.

Hello everyone!
i quite confuse about update data using sdk without download it.

first i create dataset and upload.
` dataset_path = 'dataset/batch_1'

dataset = Dataset.create(
dataset_name="dataset_name",
dataset_project="project_name",
description=description,
output_uri=" ",
)
dataset.add_files(path=dataset_path)
dataset.upload(show_progress=True, chunk_size=100, verbose=True)
dataset.finalize() then i want to update data (adding files) dataset_path = 'dataset/batch_2'

dataset = Dataset.get(dataset_id='b8bd457374ee4e388f1bf22171d572fe')
new_dataset = Dataset.create(
dataset_name="dataset_name",
dataset_project="project_name",
description=description,
output_uri=" ",
parent_datasets=[dataset],
use_current_task=True,
)

new_dataset.add_files(dataset_path)
new_dataset.upload(verbose=True)
new_dataset.finalize() but i got message like this, it seems pending upload, and the status on ui always 'uploading' Uploading dataset changes (941 files compressed to 16.77 MiB) to
File compression and upload completed: total size 16.77 MiB, 1 chunk(s) stored (average size 16.77 MiB) `

  
  
Posted 2 years ago
Votes Newest

Answers


remove this params will solve use_current_task=True,

  
  
Posted 2 years ago