Updated on 2026-11-06 GMT+08:00
Updating Dataset Format
Syntax
ALTER DATASET dataset_name SET FORMAT <format> CONTENT_TYPE(<content_type>*))
- format: Data format enumeration: ROW/TEXT/IMAGE/AUDIO/VIDEO/CUSTOM.
- content_type: When the format is ROW, optional values for content_type include: CSV (comma-separated values file), JSONL (JSON object lines file), and AVRO (AVRO row-based file). For image file formats, this is set when the format is IMAGE. Optional values for content_type include: JPG (JPG image), PNG (PNG image), and TIFF (TIFF image). content_type has no restrictions. Any string is allowed as content.
Sample Code
ALTER DATASET my_dataset SET TAGS ('tag1' = 'val1', 'tag2' = 'val2', 'tag3' = 'val3');
ALTER DATASET my_dataset UNSET TAGS ('tag1', 'tag2', 'tag3'); ALTER DATASET dataset_name SET FORMAT IMAGE
ALTER DATASET dataset_name SET FORMAT IMAGE CONTENT_TYPE ("JPG", "PNG") Parent topic: Dataset Syntax
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot